buffer: Don't add already added users to the RoomBuffer.

This commit is contained in:
Damir Jelić 2018-10-30 16:15:57 +01:00
parent 3be1b7bfc3
commit 0710b7f77d

View file

@ -847,6 +847,10 @@ class RoomBuffer(object):
# yet to come, so do nothing
return
# User is already added don't add him again.
if user_id in self.displayed_nicks:
return
short_name = shorten_sender(user.user_id)
# TODO handle this special case for discord bridge users and