Rocket.Chat.RealTime.API.RxJS
Rocket.Chat.RealTime.API.RxJS copied to clipboard
Method getSubscription stream-notify-logged add fields
I see that methods accept params but the subscription stream-notify-logged method user-status requires field field, I don't see that it can be used.
https://rocket.chat/docs/developer-guides/realtime-api/subscriptions/stream-notify-logged/
@AgustinNG , @inf3cti0n95 could you please provide an example how you get the subscription to work?
I can perfectly fine send a message via

and get
{
"msg": "ready",
"subs": [
"1597426365282"
]
}
but strangely when trying the same with getSubscription(...).subscribe()

it errors out since a string is required as the param ????
Exception from sub stream-livechat-room id 30ca7a52-5923-49bf-baa6-e49ffd999fb0 Error: Match error: Expected string, got object
at check (packages/check/match.js:36:17)
at Streamer._publish (packages/rocketchat:streamer/server/server.js:283:3)
I got the same issue here