mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge branch 'charlesmchen/typingIndicatorsVsSelf'
This commit is contained in:
commit
b519baf37d
|
@ -667,6 +667,11 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
OWSFailDebug(@"typingMessage has invalid timestamp.");
|
||||
return;
|
||||
}
|
||||
NSString *localNumber = self.tsAccountManager.localNumber;
|
||||
if ([localNumber isEqualToString:envelope.source]) {
|
||||
OWSLogVerbose(@"Ignoring typing indicators from self or linked device.");
|
||||
return;
|
||||
}
|
||||
|
||||
TSThread *_Nullable thread;
|
||||
if (typingMessage.hasGroupID) {
|
||||
|
|
Loading…
Reference in a new issue