mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Added TODO reminder.
This commit is contained in:
parent
9ec9b0e27f
commit
162c9db6fe
1 changed files with 2 additions and 0 deletions
|
@ -1531,6 +1531,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
if (envelope.type == SSKProtoEnvelopeTypeFriendRequest) return;
|
||||
|
||||
// If we're already friends then there's no point in continuing
|
||||
// TODO: We'll need to fix this up if we ever start using Sync messages
|
||||
// Currently it'll use `envelope.source` but with sync messages we need to use the message sender id
|
||||
TSContactThread *thread = [TSContactThread getOrCreateThreadWithContactId:envelope.source transaction:transaction];
|
||||
if (thread.isContactFriend) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue