Revision 8d76e2e3 ChatSecure/Classes/Controllers/OTREncryptionManager.m
ChatSecure/Classes/Controllers/OTREncryptionManager.m | ||
---|---|---|
345 | 345 |
account = [OTRAccount fetchObjectWithUniqueID:buddy.accountUniqueId transaction:transaction]; |
346 | 346 |
xmpp = (OTRXMPPManager*) [[OTRProtocolManager sharedInstance] protocolForAccount:account]; |
347 | 347 |
[xmpp sendDeliveryReceiptForMessage:originalMessage]; |
348 |
} completionBlock:^{ |
|
349 |
[xmpp.fileTransferManager createAndDownloadItemsIfNeededWithMessage:originalMessage readConnection:OTRDatabaseManager.shared.readOnlyDatabaseConnection force:NO];
|
|
350 |
[[UIApplication sharedApplication] showLocalNotification:originalMessage]; |
|
348 |
|
|
349 |
[xmpp.fileTransferManager createAndDownloadItemsIfNeededWithMessage:originalMessage force:NO transaction:transaction];
|
|
350 |
[[UIApplication sharedApplication] showLocalNotification:originalMessage transaction:transaction];
|
|
351 | 351 |
}]; |
352 | 352 |
} |
353 | 353 |
|
Also available in: Unified diff