projects
/
rainny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fbd0c1
)
Hide deleted events by default (#2237)
author
Ajay Bura
<32841439+ajbura@users.noreply.github.com>
Sat, 1 Mar 2025 07:48:11 +0000
(18:48 +1100)
committer
GitHub
<noreply@github.com>
Sat, 1 Mar 2025 07:48:11 +0000
(18:48 +1100)
src/app/features/room/RoomTimeline.tsx
patch
|
blob
|
history
diff --git
a/src/app/features/room/RoomTimeline.tsx
b/src/app/features/room/RoomTimeline.tsx
index c9da6e2e042bd13efca9a9350fc67d18a21079c4..b0a765054f7b78437fa1becf67fc0d9774bc3215 100644
(file)
--- a/
src/app/features/room/RoomTimeline.tsx
+++ b/
src/app/features/room/RoomTimeline.tsx
@@
-1497,6
+1497,9
@@
export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli
if (eventSender && ignoredUsersSet.has(eventSender)) {
return null;
}
+ if (mEvent.isRedacted() && !showHiddenEvents) {
+ return null;
+ }
if (!newDivider && readUptoEventIdRef.current) {
newDivider = prevEvent?.getId() === readUptoEventIdRef.current;