Fix room sorting for good

Do it the right way with a QSortFilterProxyModel.
This commit is contained in:
miruka
2019-05-06 13:07:00 -04:00
parent 0e5c5619cf
commit cdf6190cba
11 changed files with 178 additions and 70 deletions

View File

@@ -105,9 +105,10 @@ class Backend(QObject):
@pyqtSlot(list)
def pdb(self, additional_data: Sequence = ()) -> None:
# pylint: disable=all
a = additional_data
c = self.clients
m = self.models
ad = additional_data
cl = self.clients
ac = self.accounts
re = self.roomEvents
tcl = lambda user: c[f"@test_{user}:matrix.org"]