Commit 6709a58
committed
perf: remove RoomEvent.UnreadNotifications from ThreadReplyChip
Fired on every room message, causing N×chip re-renders and O(n_events)
scans per message when N threads are visible. ThreadEvent.NewReply/Update
and RoomEvent.Redaction already cover the relevant updates.1 parent fde829d commit 6709a58
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
128 | | - | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
0 commit comments