Add setting to sort rooms lexically

This commit is contained in:
miruka
2020-09-01 14:42:08 -04:00
parent 8d61826887
commit a1b9f34958
4 changed files with 35 additions and 1 deletions

View File

@@ -1866,6 +1866,8 @@ class MatrixClient(nio.AsyncClient):
highlights = room.unread_highlights,
local_unreads = local_unreads,
local_highlights = local_highlights,
lexical_sorting = self.backend.ui_settings["lexicalRoomSorting"],
)
self.models[self.user_id, "rooms"][room.room_id] = room_item