@@ -220,7 +220,7 @@ - (NSXMLElement *)capabilitiesForJID:(XMPPJID *)jid xmppStream:(XMPPStream *)str
220
220
- (NSXMLElement *)capabilitiesForJID : (XMPPJID *)jid ext : (NSString **)extPtr xmppStream : (XMPPStream *)stream
221
221
{
222
222
// By design this method should not be invoked from the storageQueue.
223
- NSAssert (dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
223
+ NSAssert (! dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
224
224
225
225
XMPPLogTrace ();
226
226
@@ -331,7 +331,7 @@ - (BOOL)getCapabilitiesHash:(NSString **)hashPtr
331
331
xmppStream : (XMPPStream *)stream
332
332
{
333
333
// By design this method should not be invoked from the storageQueue.
334
- NSAssert (dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
334
+ NSAssert (! dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
335
335
336
336
XMPPLogTrace ();
337
337
@@ -411,7 +411,7 @@ - (void)getCapabilitiesKnown:(BOOL *)areCapabilitiesKnownPtr
411
411
xmppStream : (XMPPStream *)stream
412
412
{
413
413
// By design this method should not be invoked from the storageQueue.
414
- NSAssert (dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
414
+ NSAssert (! dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
415
415
416
416
XMPPLogTrace ();
417
417
@@ -519,7 +519,7 @@ - (void)setCapabilities:(NSXMLElement *)capabilities forHash:(NSString *)hash al
519
519
- (void )setCapabilities : (NSXMLElement *)capabilities forJID : (XMPPJID *)jid xmppStream : (XMPPStream *)stream
520
520
{
521
521
// By design this method should not be invoked from the storageQueue.
522
- NSAssert (dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
522
+ NSAssert (! dispatch_get_specific(storageQueueTag), @"Invoked on incorrect queue");
523
523
524
524
XMPPLogTrace ();
525
525
0 commit comments