Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

stream room messages not working #50

Closed
ashokj82 opened this issue Oct 4, 2018 · 3 comments
Closed

stream room messages not working #50

ashokj82 opened this issue Oct 4, 2018 · 3 comments
Assignees

Comments

@ashokj82
Copy link

ashokj82 commented Oct 4, 2018

I followed https://github.com/RocketChat/docs/tree/master/developer-guides/realtime-api/livechat-api. I have registered a guest user and agent is getting a message. But when I subscribe for stream-room-messages, its not working. When I refer subscription docs it says you need to login but in case of guest user we dont have any login procedure. Please help me how can I subscribe guest user messages.

@ashokj82
Copy link
Author

ashokj82 commented Oct 4, 2018

�[34mI20181004-06:48:48.612(0) rocketchat_logger rocketchat_logger.js:278 �[31mStreamBroadcast ➔ Stream.error �[31mStream broadcast from 'undefined:3000' to 'vchat.com:3000' with name notify-user not authorized

I have user livechat:loginByToken to login guest user.

What is wrong am I doing here? Any help would be much appreciated.

@renatobecker-zz
Copy link

Hi @ashokj82.
Please, take a look at here: RocketChat/docs@dc903f7

Thanks.

@Faria1212 Faria1212 transferred this issue from RocketChat/docs-old Jun 12, 2021
@ChristySujitha
Copy link
Contributor

Updated the documentation. Please refer to this link : https://developer.rocket.chat/reference/api/realtime-api/subscriptions/stream-room-messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants