buffer: Don't add already added users to the RoomBuffer.
This commit is contained in:
parent
3be1b7bfc3
commit
0710b7f77d
1 changed files with 4 additions and 0 deletions
|
@ -847,6 +847,10 @@ class RoomBuffer(object):
|
||||||
# yet to come, so do nothing
|
# yet to come, so do nothing
|
||||||
return
|
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)
|
short_name = shorten_sender(user.user_id)
|
||||||
|
|
||||||
# TODO handle this special case for discord bridge users and
|
# TODO handle this special case for discord bridge users and
|
||||||
|
|
Loading…
Add table
Reference in a new issue