Merge branch 'feature/3152_ignored_users' into develop

# Conflicts:
#	bwi/BwiBuildSettings.swift
This commit is contained in:
Frank Rotermund
2022-07-28 13:13:16 +02:00
8 changed files with 310 additions and 62 deletions
+11
View File
@@ -5273,6 +5273,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)
{