This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Commit 6cec2bb
authored
Use the same logic in prevews as the timeline to hide events that should be hidden (#12434)
* use the same logic in prevews as the timeline to hide events that should not be shown
* skip any events we should hide, don't need to special case Replace events as we should be ignoring them(getContent() will use replacingEvent)
* lint1 parent 1ace170 commit 6cec2bb
File tree
2 files changed
+61
-25
lines changed- src/stores/room-list
- test/stores/room-list
2 files changed
+61
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | 188 | | |
203 | 189 | | |
204 | 190 | | |
| |||
221 | 207 | | |
222 | 208 | | |
223 | 209 | | |
224 | | - | |
225 | | - | |
226 | 210 | | |
227 | 211 | | |
228 | 212 | | |
| |||
237 | 221 | | |
238 | 222 | | |
239 | 223 | | |
240 | | - | |
| 224 | + | |
| 225 | + | |
241 | 226 | | |
242 | 227 | | |
243 | 228 | | |
244 | 229 | | |
245 | 230 | | |
246 | 231 | | |
247 | 232 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 233 | + | |
| 234 | + | |
252 | 235 | | |
253 | 236 | | |
254 | 237 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 238 | | |
259 | 239 | | |
260 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
129 | 185 | | |
130 | 186 | | |
131 | 187 | | |
| |||
0 commit comments