mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Debug
This commit is contained in:
parent
aefdbeb7bc
commit
f25421ce83
|
@ -1447,10 +1447,12 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loki: Cache the user hex encoded public key (for mentions)
|
// Loki: Cache the user hex encoded public key (for mentions)
|
||||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[LKAPI populateUserHexEncodedPublicKeyCacheIfNeededFor:oldGroupThread.uniqueId in:transaction];
|
[OWSPrimaryStorage.sharedManager.dbReadConnection readWithBlock:^(YapDatabaseReadTransaction *transaction) {
|
||||||
|
[LKAPI populateUserHexEncodedPublicKeyCacheIfNeededFor:oldGroupThread.uniqueId in:transaction];
|
||||||
|
[LKAPI cache:incomingMessage.authorId for:oldGroupThread.uniqueId];
|
||||||
|
}];
|
||||||
});
|
});
|
||||||
[LKAPI cache:incomingMessage.authorId for:oldGroupThread.uniqueId];
|
|
||||||
|
|
||||||
[self finalizeIncomingMessage:incomingMessage
|
[self finalizeIncomingMessage:incomingMessage
|
||||||
thread:oldGroupThread
|
thread:oldGroupThread
|
||||||
|
|
Loading…
Reference in a new issue