You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our app has an online/offline feature, and we subscribe to individual chat when we go inside the chat.
On the opening of the app we subscribe to the self-presence channel userId-presence. so other users can check online/offline status by subscribing to its presence channel userId-presence-pnpres
The presence signal works well, and the HereNow call returns the right Online/Offline status based on subscription.
However when a user goes inside the chat and subscribes to a new channel chatroom1, it leaves presence to the old Presence channel userId-presence
This does not happen every time. If we Subscribe to a channel and Unsubscribe to a channel quickly or multiple times in quick manner it starts to give a leave signal in the presence channel.
Because of that, users seem offline at the other end, which makes the app not function well.
The text was updated successfully, but these errors were encountered:
hareshkalyani
changed the title
Presence gives leave signal for old channels when subscribing to different new channels
Presence gives leave signal for old subscribed channels when subscribing to different new channels
Jun 4, 2024
hareshkalyani
changed the title
Presence gives leave signal for old subscribed channels when subscribing to different new channels
Presence sends leave event for old subscribed channels when subscribing to different new channels
Jun 4, 2024
Nuget SDK PubnubPCL : 6.19.3
Our app has an online/offline feature, and we subscribe to individual chat when we go inside the chat.
On the opening of the app we subscribe to the self-presence channel userId-presence. so other users can check online/offline status by subscribing to its presence channel userId-presence-pnpres
The presence signal works well, and the HereNow call returns the right Online/Offline status based on subscription.
However when a user goes inside the chat and subscribes to a new channel chatroom1, it leaves presence to the old Presence channel userId-presence
This does not happen every time. If we Subscribe to a channel and Unsubscribe to a channel quickly or multiple times in quick manner it starts to give a leave signal in the presence channel.
Because of that, users seem offline at the other end, which makes the app not function well.
The text was updated successfully, but these errors were encountered: