Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-02-13 16:15:55 +00:00
commit 8ae62b8526

View File

@ -176,12 +176,13 @@ class RoomListStore extends Store {
listOrders[order].forEach((listKey) => {
let comparator;
switch (order) {
case "manual":
comparator = this._getManualComparator(listKey, optimisticRequest);
break;
case "recent":
comparator = this._recentsComparator;
break;
case "manual":
default:
comparator = this._getManualComparator(listKey, optimisticRequest);
break;
}
lists[listKey].sort(comparator);
});