diff options
-rw-r--r-- | src/tabs.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py index b25f5f24..a8d2a3cf 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1094,7 +1094,9 @@ class MucTab(ChatTab): 'none': get_theme().CHAR_AFFILIATION_NONE, } - for user in self.users: + users = self.users[:] + users.sort(key=lambda x: x.nick.lower()) + for user in users: if user.role == 'visitor': visitors.append((user, aff[user.affiliation])) elif user.role == 'participant': |