set-expiration dispatches *sync* so we can test it.

// FREEBIE
This commit is contained in:
Michael Kirk 2017-06-03 18:30:21 -07:00
parent 1fb9fa79df
commit edf5852e82

View File

@ -136,7 +136,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (void)setExpirationForMessage:(TSMessage *)message
{
dispatch_async(self.serialQueue, ^{
dispatch_sync(self.serialQueue, ^{
[[self sharedJob] setExpirationForMessage:message];
});
}