cometchat / chat-sdk-javascript

Voice & Video Calling and Text Chat SDK for JavaScript/Web
Other
30 stars 24 forks source link

subscribePresenceForFriends feature not working #42

Closed adityagokula2210 closed 4 years ago

adityagokula2210 commented 5 years ago

When the presence for friends is subscribed using the AppSettings class as

CometChat.AppSettingsBuilder().subscribePresenceForFriends().setRegion('eu').build()

The presence for friends is not received in the onUserOnline() and onUserOffline() methods of the UserListener class.

minisemi commented 5 years ago

I was the one reporting the issue (v2.0.0-beta4). I have confirmed that the two user's are friends with the API. They also show up as friends in the Comet Chat dashboard. Their presence is only received when using subscribePresenceForAllUsers().

mayur-bhandari commented 5 years ago

Hello @minisemi , we were able to replicate this issue at our end. We will let you know once this issue is solved.

minisemi commented 5 years ago

Great, thanks!

mayur-bhandari commented 4 years ago

Hello @minisemi , we have fixed this issue in our latest release (v2.0.0-beta9). Can you please check it your end and confirm if this issue is solved?

mayur-bhandari commented 4 years ago

Closing due to inactivity. If the issue still persist, please feel free to re open the issue.

minisemi commented 4 years ago

Yes it's working for me now as well, thank you!