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
Also it looks like presence.get doesn't currently support filtering by clientId/connectionId, so also fails RTP11c2 and RTP11c3. Looks like there was an issue for this but it was closed?
(removed comment about test coverage, I was only looking at the obj-c tests, missed the swift ones)
The lib solemnly set a memberKey for presence messages... and then ignores it and just uses the clientId as the key in the presence map.
https://github.com/ably/ably-ios/blob/7d18a06e190e6bd1fef7b879a258af521d6fcabe/Source/ARTPresenceMap.m#L109 https://github.com/ably/ably-ios/blob/7d18a06e190e6bd1fef7b879a258af521d6fcabe/Source/ARTPresenceMap.m#L128
So presence behaviour for clients which share a connectionId is currently completely broken.
See e.g. customer reporting an issue caused by this here .
Relevant spec items: RTP2, RTP2a
The text was updated successfully, but these errors were encountered: