mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
MESSENGER-3152 remove typing notification for ignored users
This commit is contained in:
@@ -5270,6 +5270,17 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
[typingUsers removeObjectAtIndex:index];
|
||||
}
|
||||
|
||||
// bwi remove ignored users from typing users
|
||||
if (BwiBuildSettings.bwiBetterIgnoredUsers) {
|
||||
for (NSString* ignoredId in self.mainSession.ignoredUsers) {
|
||||
NSUInteger index = [typingUsers indexOfObject:ignoredId];
|
||||
if (index != NSNotFound)
|
||||
{
|
||||
[typingUsers removeObjectAtIndex:index];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ignore this notification if both arrays are empty
|
||||
if (self->currentTypingUsers.count || typingUsers.count)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user