Commit a9ca01e
Skip hidden filter for self DM, #admins, and archived chats in search router
The excludeHidden filter introduced in PR 87796 incorrectly filters out
self DM, #admins rooms, and archived workspace chats when the participant's
notificationPreference is undefined/null (treated as hidden by
isHiddenForCurrentUser). This exempts those chat types from the filter.
Co-authored-by: Shridhar Goel <ShridharGoel@users.noreply.github.com>1 parent 4386ecc commit a9ca01e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2506 | 2506 | | |
2507 | 2507 | | |
2508 | 2508 | | |
2509 | | - | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
| 2513 | + | |
| 2514 | + | |
2510 | 2515 | | |
2511 | 2516 | | |
2512 | 2517 | | |
| |||
0 commit comments