Sort chatrooms by name

parent bddca0c6
......@@ -60,6 +60,7 @@ class MucListTab(ListTab):
items = [(item[0].split('@')[0], item[0], item[2] or '', '')
for item in get_items()]
items = sorted(items, key=lambda item: item[0])
self.info_header.message = 'Chatroom list on server %s' %
if self.core.tabs.current_tab is 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