File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ - (BOOL)configureWithParent:(XMPPStreamManagement *)parent queue:(dispatch_queue
49
49
*
50
50
* @param stream
51
51
* The associated xmppStream (standard parameter for storage classes)
52
+ *
53
+ * This method should also nil out the following values (if needed) associated with the account:
54
+ * - lastHandledByClient
55
+ * - lastHandledByServer
56
+ * - pendingOutgoingStanzas
52
57
**/
53
58
- (void )setResumptionId : (NSString *)inResumptionId
54
59
timeout : (uint32_t )inTimeout
@@ -58,6 +63,10 @@ - (void)setResumptionId:(NSString *)inResumptionId
58
63
resumptionId = inResumptionId;
59
64
timeout = inTimeout;
60
65
lastDisconnect = inLastDisconnect;
66
+
67
+ lastHandledByClient = 0 ;
68
+ lastHandledByServer = 0 ;
69
+ pendingOutgoingStanzas = nil ;
61
70
}
62
71
63
72
/* *
Original file line number Diff line number Diff line change 456
456
*
457
457
* @param stream
458
458
* The associated xmppStream (standard parameter for storage classes)
459
+ *
460
+ * This method should also nil out the following values (if needed) associated with the account:
461
+ * - lastHandledByClient
462
+ * - lastHandledByServer
463
+ * - pendingOutgoingStanzas
459
464
**/
460
465
- (void )setResumptionId : (NSString *)resumptionId
461
466
timeout : (uint32_t )timeout
You can’t perform that action at this time.
0 commit comments