Open sacOO7 opened 3 months ago
onMessage
/ onSyncMessage
implementation like => https://github.com/ably/ably-go/blob/dd8236fc301eb078803e83efee7615f3ba133341/ably/realtime_presence.go#L291Remove use of client initiated sync -> https://github.com/ably/ably-ruby/blob/062d98f98d4c67a7423ad7a4bb5856b3621e4f71/lib/ably/realtime/presence/members_map.rb#L292. This method is only needed as a part of testing and client never initiates a sync as per spec.
Update missing connectionId
, timestamp
and id
for inner messages / presence messages based on parent protocol message same as => https://github.com/ably/ably-go/blob/dd8236fc301eb078803e83efee7615f3ba133341/ably/proto_message.go#L60
statemachine
is not need as a part of channel presence since it's not mentioned in the spec and not implemented in other SDKs. e.g. you can findstatemachine
to make implementation in sync with spec and other SDKsruby presence map has
statemachine
in ruby sdk. Need to be refactored at a certain point to make ruby implementation in sync with spec and for better readability.┆Issue is synchronized with this Jira Task by Unito