Skip to content

Commit

Permalink
Update according to the new RTP17i spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Feb 12, 2024
1 parent 4109483 commit c7da04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ARTRealtimeChannel.m
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ - (void)setAttached:(ARTProtocolMessage *)message {
}
ARTChannelStateChange *stateChange = [[ARTChannelStateChange alloc] initWithCurrent:self.state_nosync previous:self.state_nosync event:ARTChannelEventUpdate reason:message.error resumed:message.resumed];
[self emit:stateChange.event with:stateChange];
[self.presenceMap reenterLocalMembers]; // RTP17f, see https://github.com/ably/ably-cocoa/pull/1714/files#r1423868598 thread
}
[self.presenceMap reenterLocalMembers]; // RTP17i
return;
}

Expand All @@ -768,7 +768,7 @@ - (void)setAttached:(ARTProtocolMessage *)message {
[_attachedEventEmitter emit:nil with:nil];

[self.presence sendPendingPresence];
[self.presenceMap reenterLocalMembers]; // RTP17f
[self.presenceMap reenterLocalMembers]; // RTP17i
}

- (void)setDetached:(ARTProtocolMessage *)message {
Expand Down

0 comments on commit c7da04b

Please sign in to comment.