mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 21:24:27 +02:00
Exclude reactions from room previews
This commit is contained in:
parent
649a7f00bf
commit
634049ce7a
@ -13,6 +13,7 @@ Note that this list may be incomplete or outdated.
|
|||||||
- Unified room list instead of separating DMs and groups (TODO: setting)
|
- Unified room list instead of separating DMs and groups (TODO: setting)
|
||||||
- Do not exclude currently selected room when updating room sort order
|
- Do not exclude currently selected room when updating room sort order
|
||||||
- Do not force muted rooms to be sorted at the bottom
|
- Do not force muted rooms to be sorted at the bottom
|
||||||
|
- Hide reactions from room previews
|
||||||
|
|
||||||
|
|
||||||
## Conversation screen
|
## Conversation screen
|
||||||
|
29
patches/matrix-react-sdk/0005-Don-t-preview-reactions.patch
Normal file
29
patches/matrix-react-sdk/0005-Don-t-preview-reactions.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From a4cded706d0e451517e66b300324ad085eb86105 Mon Sep 17 00:00:00 2001
|
||||||
|
From: SpiritCroc <dev@spiritcroc.de>
|
||||||
|
Date: Thu, 14 Dec 2023 10:32:10 +0100
|
||||||
|
Subject: Don't preview reactions
|
||||||
|
|
||||||
|
---
|
||||||
|
src/stores/room-list/MessagePreviewStore.ts | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/stores/room-list/MessagePreviewStore.ts b/src/stores/room-list/MessagePreviewStore.ts
|
||||||
|
index a3c44084d5..f412cf3b89 100644
|
||||||
|
--- a/src/stores/room-list/MessagePreviewStore.ts
|
||||||
|
+++ b/src/stores/room-list/MessagePreviewStore.ts
|
||||||
|
@@ -65,10 +65,12 @@ const PREVIEWS: Record<
|
||||||
|
isState: false,
|
||||||
|
previewer: new StickerEventPreview(),
|
||||||
|
},
|
||||||
|
+ /*
|
||||||
|
"m.reaction": {
|
||||||
|
isState: false,
|
||||||
|
previewer: new ReactionEventPreview(),
|
||||||
|
},
|
||||||
|
+ */
|
||||||
|
[M_POLL_START.name]: {
|
||||||
|
isState: false,
|
||||||
|
previewer: new PollStartEventPreview(),
|
||||||
|
--
|
||||||
|
2.45.0
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user