mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge branch 'dev' of github.com:loki-project/loki-messenger-ios into dev
This commit is contained in:
commit
cb29b7d8f6
|
@ -1022,8 +1022,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
NSArray<NSString *> *hexEncodedPublicKeys = [parser parseHexEncodedPublicKeys];
|
||||
// Try to establish sessions
|
||||
for (NSString *hexEncodedPublicKey in hexEncodedPublicKeys) {
|
||||
TSContactThread *thread = [TSContactThread getThreadWithContactId:hexEncodedPublicKey transaction:transaction];
|
||||
if (thread == nil) { return; }
|
||||
TSContactThread *thread = [TSContactThread getOrCreateThreadWithContactId:hexEncodedPublicKey transaction:transaction];
|
||||
LKThreadFriendRequestStatus friendRequestStatus = thread.friendRequestStatus;
|
||||
switch (friendRequestStatus) {
|
||||
case LKThreadFriendRequestStatusNone: {
|
||||
|
|
Loading…
Reference in a new issue