We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50083b9 + a9ca01e commit 3146a16Copy full SHA for 3146a16
1 file changed
src/libs/OptionsListUtils/index.ts
@@ -2506,7 +2506,12 @@ function getValidOptions(
2506
if (report.isThread && report.notificationPreference === CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN) {
2507
return false;
2508
}
2509
- if (!report.isThread) {
+ if (
2510
+ !report.isThread &&
2511
+ report.item?.chatType !== CONST.REPORT.CHAT_TYPE.SELF_DM &&
2512
+ report.item?.chatType !== CONST.REPORT.CHAT_TYPE.POLICY_ADMINS &&
2513
+ !report.private_isArchived
2514
+ ) {
2515
const participant = report.item?.participants?.[currentUserAccountID];
2516
if (participant && isHiddenForCurrentUser(participant.notificationPreference)) {
2517
0 commit comments