From 8ec83d4a7711452c1c9857b6f9fad1f5343e10ae Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 2 Mar 2020 11:20:28 +0000 Subject: [PATCH] Revert to manual sorting for custom tag rooms --- src/stores/RoomListStore.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/stores/RoomListStore.js b/src/stores/RoomListStore.js index 30b523d35d..561d865b66 100644 --- a/src/stores/RoomListStore.js +++ b/src/stores/RoomListStore.js @@ -62,15 +62,16 @@ const getListAlgorithm = (listKey, settingAlgorithm) => { // apply manual sorting only to m.favourite, otherwise respect the global setting // all the known tags are listed explicitly here to simplify future changes switch (listKey) { - case "m.favourite": - return ALGO_MANUAL; case "im.vector.fake.invite": case "im.vector.fake.recent": case "im.vector.fake.archived": case "m.lowpriority": case TAG_DM: - default: return settingAlgorithm; + + case "m.favourite": + default: // custom-tags + return ALGO_MANUAL; } };