From 11adc8123054a57f37a5e59a1246cb1bb98d6cc4 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 8 May 2024 15:36:09 +0200 Subject: [PATCH] Do not sort muted chats at the bottom --- ...hildi-fetch-package.ts-modifications.patch | 2 +- .../0001-Disable-sticky-rooms.patch | 2 +- .../0002-Bring-back-unified-room-list.patch | 2 +- ...-rooms-to-bottom-I-still-want-to-see.patch | 25 +++++++++++++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 patches/matrix-react-sdk/0003-Don-t-sort-muted-rooms-to-bottom-I-still-want-to-see.patch diff --git a/patches/element-desktop/0001-Add-back-schildi-fetch-package.ts-modifications.patch b/patches/element-desktop/0001-Add-back-schildi-fetch-package.ts-modifications.patch index bcdce40..0eb8055 100644 --- a/patches/element-desktop/0001-Add-back-schildi-fetch-package.ts-modifications.patch +++ b/patches/element-desktop/0001-Add-back-schildi-fetch-package.ts-modifications.patch @@ -1,4 +1,4 @@ -From 1173e36ec0b5ae32efc3125da704693eba6d6ca9 Mon Sep 17 00:00:00 2001 +From 7f932f56b483fa784260a9581e1a410fccd9a1ef Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sat, 2 Dec 2023 12:57:26 +0100 Subject: Add back schildi fetch-package.ts modifications diff --git a/patches/matrix-react-sdk/0001-Disable-sticky-rooms.patch b/patches/matrix-react-sdk/0001-Disable-sticky-rooms.patch index f586445..c9c4e68 100644 --- a/patches/matrix-react-sdk/0001-Disable-sticky-rooms.patch +++ b/patches/matrix-react-sdk/0001-Disable-sticky-rooms.patch @@ -1,4 +1,4 @@ -From a5fa3affdee6f104a6529d252f49b5f311bfc100 Mon Sep 17 00:00:00 2001 +From 26074d71cfc060952e9a63efd462b8450eb4d445 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Tue, 18 Jan 2022 13:28:22 +0100 Subject: Disable sticky rooms diff --git a/patches/matrix-react-sdk/0002-Bring-back-unified-room-list.patch b/patches/matrix-react-sdk/0002-Bring-back-unified-room-list.patch index 9c80179..1627722 100644 --- a/patches/matrix-react-sdk/0002-Bring-back-unified-room-list.patch +++ b/patches/matrix-react-sdk/0002-Bring-back-unified-room-list.patch @@ -1,4 +1,4 @@ -From 0cdeef0334e79d41f02141f01f6391f3444ae920 Mon Sep 17 00:00:00 2001 +From 4447153bc30c98caed3b6896e1814daadd5fc101 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sun, 5 May 2024 10:12:17 +0200 Subject: Bring back unified room list diff --git a/patches/matrix-react-sdk/0003-Don-t-sort-muted-rooms-to-bottom-I-still-want-to-see.patch b/patches/matrix-react-sdk/0003-Don-t-sort-muted-rooms-to-bottom-I-still-want-to-see.patch new file mode 100644 index 0000000..f264bcf --- /dev/null +++ b/patches/matrix-react-sdk/0003-Don-t-sort-muted-rooms-to-bottom-I-still-want-to-see.patch @@ -0,0 +1,25 @@ +From 6e32e2d55772a95bc660b27605981e46b805f821 Mon Sep 17 00:00:00 2001 +From: SpiritCroc +Date: Sun, 17 Dec 2023 11:11:58 +0100 +Subject: Don't sort muted rooms to bottom, I still want to see them. + +--- + .../room-list/algorithms/list-ordering/OrderingAlgorithm.ts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts b/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts +index 1b6472a018..8eae273a06 100644 +--- a/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts ++++ b/src/stores/room-list/algorithms/list-ordering/OrderingAlgorithm.ts +@@ -46,7 +46,7 @@ export abstract class OrderingAlgorithm { + } + + public get isMutedToBottom(): boolean { +- return this.sortingAlgorithm === SortAlgorithm.Recent; ++ return this.sortingAlgorithm === SortAlgorithm.Recent && false; + } + + /** +-- +2.45.0 +