summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tabs/muctab.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index 6c961874..486c9078 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -1540,8 +1540,10 @@ class MucTab(ChatTab):
self.core.on_user_changed_status_in_private('%s/%s' %
(from_room, from_nick),
msg)
+ self.users.remove(user)
# finally, effectively change the user status
user.update(affiliation, show, status, role)
+ bisect.insort_left(self.users, user)
def disconnect(self):
"""