Skip to content

Commit

Permalink
Merge pull request #1076 from rnapier/fix/nullable-date
Browse files Browse the repository at this point in the history
Fixes #1073. Correct nullability for lastDisconnect
  • Loading branch information
chrisballinger authored Jul 9, 2018
2 parents e1c5d8d + 4c1398f commit d34571e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Extensions/XEP-0198/XMPPStreamManagement.h
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ NS_ASSUME_NONNULL_BEGIN
**/
- (void)setResumptionId:(nullable NSString *)resumptionId
timeout:(uint32_t)timeout
lastDisconnect:(NSDate *)date
lastDisconnect:(nullable NSDate *)date
forStream:(XMPPStream *)stream;

/**
Expand All @@ -485,7 +485,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param stream
* The associated xmppStream (standard parameter for storage classes)
**/
- (void)setLastDisconnect:(NSDate *)date
- (void)setLastDisconnect:(nullable NSDate *)date
lastHandledByClient:(uint32_t)lastHandledByClient
forStream:(XMPPStream *)stream;

Expand All @@ -510,7 +510,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param stream
* The associated xmppStream (standard parameter for storage classes)
**/
- (void)setLastDisconnect:(NSDate *)date
- (void)setLastDisconnect:(nullable NSDate *)date
lastHandledByServer:(uint32_t)lastHandledByServer
pendingOutgoingStanzas:(nullable NSArray<XMPPStreamManagementOutgoingStanza*> *)pendingOutgoingStanzas
forStream:(XMPPStream *)stream;
Expand Down Expand Up @@ -573,7 +573,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param stream
* The associated xmppStream (standard parameter for storage classes)
**/
- (void)setLastDisconnect:(NSDate *)date
- (void)setLastDisconnect:(nullable NSDate *)date
lastHandledByClient:(uint32_t)lastHandledByClient
lastHandledByServer:(uint32_t)lastHandledByServer
pendingOutgoingStanzas:(nullable NSArray<XMPPStreamManagementOutgoingStanza*> *)pendingOutgoingStanzas
Expand Down

0 comments on commit d34571e

Please sign in to comment.