-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow system account chat to be listed in LHN, fix chat icons
- Loading branch information
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1724,7 +1724,7 @@ function getOptions( | |
allPersonalDetailsOptions = lodashOrderBy(allPersonalDetailsOptions, [(personalDetail) => personalDetail.text?.toLowerCase()], 'asc'); | ||
} | ||
|
||
const optionsToExclude: Option[] = [{login: CONST.EMAIL.NOTIFICATIONS}]; | ||
const optionsToExclude: Option[] = []; | ||
|
||
// If we're including selected options from the search results, we only want to exclude them if the search input is empty | ||
// This is because on certain pages, we show the selected options at the top when the search input is empty | ||
|
@@ -1753,11 +1753,6 @@ function getOptions( | |
break; | ||
} | ||
|
||
// Skip [email protected] | ||
if (reportOption.login === CONST.EMAIL.NOTIFICATIONS) { | ||
continue; | ||
} | ||
|
||
const isCurrentUserOwnedPolicyExpenseChatThatCouldShow = | ||
reportOption.isPolicyExpenseChat && reportOption.ownerAccountID === currentUserAccountID && includeOwnedWorkspaceChats && !reportOption.isArchivedRoom; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters