Verified Commit f9bb45f6 authored by mathieui's avatar mathieui
Browse files

Fix an ordering issues in the MUC userlist

users changing affiliations or roles weren’t moved around properly
parent 00745981
......@@ -1540,8 +1540,10 @@ class MucTab(ChatTab):
self.core.on_user_changed_status_in_private('%s/%s' %
(from_room, from_nick),
# finally, effectively change the user status
user.update(affiliation, show, status, role)
bisect.insort_left(self.users, user)
def disconnect(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment