Skip to content

Commit e247745

Browse files
committed
Minor bug fix for XMPPBandwidthMonitor - should start monitoring bandwidth immediately upon TCP connect, not post XMPP handshake.
1 parent 1385b09 commit e247745

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Extensions/BandwidthMonitor/XMPPBandwidthMonitor.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ - (void)deactivate
174174
dispatch_sync(moduleQueue, block);
175175
}
176176

177-
- (void)xmppStreamDidConnect:(XMPPStream *)sender
177+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
178+
#pragma mark XMPPStream Delegate
179+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
180+
181+
- (void)xmppStreamDidStartNegotiation:(XMPPStream *)sender;
178182
{
179183
[self startTimer];
180184
}

0 commit comments

Comments
 (0)