diff --git a/Source/ARTRealtimeChannel.m b/Source/ARTRealtimeChannel.m index c5d4195c5..101ad8c8c 100644 --- a/Source/ARTRealtimeChannel.m +++ b/Source/ARTRealtimeChannel.m @@ -1050,16 +1050,6 @@ - (void)attachAfterChecks:(ARTCallback)callback channelSerial:(NSString *)channe [self setSuspended:metadata]; }] startTimer]; } ackCallback:nil]; - - if (![self.realtime shouldQueueEvents]) { - ARTEventListener *reconnectedListener = [self.realtime.connectedEventEmitter once:^(NSNull *n) { - // Disconnected and connected while attaching, re-attach. - [self attachAfterChecks:callback channelSerial:channelSerial]; - }]; - [_attachedEventEmitter once:^(ARTErrorInfo *err) { - [self.realtime.connectedEventEmitter off:reconnectedListener]; - }]; - } } - (void)detach:(ARTCallback)callback {