Revision 948c95c5
ChatSecure/Classes/View Controllers/OTRMessagesViewController.m | ||
---|---|---|
459 | 459 |
}]; |
460 | 460 |
} |
461 | 461 |
|
462 |
[self sendPresenceProbe]; |
|
463 |
[self fetchOMEMODeviceList]; |
|
462 |
if (![self isGroupChat]) { |
|
463 |
[self sendPresenceProbe]; |
|
464 |
[self fetchOMEMODeviceList]; |
|
465 |
} |
|
464 | 466 |
} |
465 | 467 |
|
466 | 468 |
|
... | ... | |
922 | 924 |
account = [self accountWithTransaction:transaction]; |
923 | 925 |
buddy = [self buddyWithTransaction:transaction]; |
924 | 926 |
}]; |
925 |
if (!account || !buddy) { |
|
927 |
if (!account || !buddy || ([buddy isKindOfClass:[OTRXMPPBuddy class]] && [(OTRXMPPBuddy *)buddy pendingApproval])) {
|
|
926 | 928 |
return; |
927 | 929 |
} |
928 | 930 |
id manager = [[OTRProtocolManager sharedInstance] protocolForAccount:account]; |
Also available in: Unified diff