Problems getting History from Channel

Hi,

I'm using Corona/Lua and I have not been able to get the history from a channel.

If I use "client:subscribe({"Room"},0)" I have no problems subscribing to a channel, but if I try to get the history by doing "client:subscribe({"Room"}, -1)" I get this error: "Invalid subscribe request format(op 0)"

Is this happening because perhaps I don't have Chat Webhooks setup correctly?
(I used the Webhooks Demo settings with the webtask.io url).

Also is there a tutorial for setting up Chat Webhooks and a recommended hosting service?

Thank you,

Jorge

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Pers,

    Thank you for choosing Photon and for reporting this!

    We will look into this.

    Is this happening because perhaps I don't have Chat Webhooks setup correctly?
    No. The error suggests something else.

    Also is there a tutorial for setting up Chat Webhooks and a recommended hosting service?
    No we do not have any at the moment.