mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
BugFix: I get sometimes typing notifications for myself #123
This commit is contained in:
parent
225853767b
commit
7fb19bfb8e
1 changed files with 9 additions and 1 deletions
|
@ -1147,7 +1147,15 @@
|
|||
|
||||
}];
|
||||
|
||||
currentTypingUsers = self.roomDataSource.room.typingUsers;
|
||||
// Retrieve the current typing users list
|
||||
NSMutableArray *typingUsers = [NSMutableArray arrayWithArray:self.roomDataSource.room.typingUsers];
|
||||
// Remove typing info for the current user
|
||||
NSUInteger index = [typingUsers indexOfObject:self.mainSession.myUser.userId];
|
||||
if (index != NSNotFound)
|
||||
{
|
||||
[typingUsers removeObjectAtIndex:index];
|
||||
}
|
||||
currentTypingUsers = typingUsers;
|
||||
[self refreshActivitiesViewDisplay];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue