Skip to content

Commit

Permalink
RTP17f replaced with RTP17i.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Feb 12, 2024
1 parent 50d559a commit 2d4c50b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion textile/features.textile
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,8 @@ h3(#realtime-presence). RealtimePresence
** @(RTP17a)@ All members belonging to the current connection are published as a @PresenceMessage@ on the @RealtimeChannel@ by the server irrespective of whether the client has permission to subscribe or the @RealtimeChannel@ is configured to publish presence events. A test should exist that attaches to a @RealtimeChannel@ with a @presence@ capability and without a @subscribe@ capability. It should then enter the @RealtimeChannel@ and ensure that the member entered from the current connection is present in the internal and public presence set available via "@RealtimePresence#get@":#RTP11
** @(RTP17b)@ The events that should be applied to the @RTP17@ presence map are: any @ENTER@, @PRESENT@ or @UPDATE@ event with a @connectionId@ that matches the current client's @connectionId@; any @LEAVE@ event with a @connectionId@ that matches the current client's @connectionId@ and is not a 'synthesized leave' (an event that has a connectionId which is not an initial substring of its id, per "@RTP2b1@":#RTP2b1 )
** @(RTP17h)@ Unlike the main @PresenceMap@, which is keyed by "memberKey":#TP3h , the @RTP17@ @PresenceMap@ must be keyed only by @clientId@. (Otherwise, entries associated with old @connectionId@s would never be removed, even if the user deliberately leaves presence).
** @(RTP17f)@ The RealtimePresence object should perform automatic re-entry whenever a channel moves into the @ATTACHED@ state. (It does not need to do so for @RTL12@ @ATTACHED@ events received on already-@ATTACHED@ channels).
** @(RTP17f)@ This clause has been deleted. It was valid up to and including specification version @3.0@.
** @(RTP17i)@ The RealtimePresence object should perform automatic re-entry whenever a channel receives an @ATTACHED@ protocol message.
** @(RTP17g)@ Automatic re-entry consists of, for each member of the @RTP17@ internal @PresenceMap@, publishing a @PresenceMessage@ with an @ENTER@ action using the @clientId@, @data@, and @id@ attributes from that member.
** @(RTP17c)@ This clause has been replaced by "@RTP17f@":#RTP17f. It was valid up to and including specification version @1.2@.
*** @(RTP17c1)@ This clause has been deleted. It was valid up to and including specification version @1.2@.
Expand Down

0 comments on commit 2d4c50b

Please sign in to comment.