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