Skip to content

Commit 375f97a

Browse files
committed
#4032 undo filtering
1 parent b92ecf2 commit 375f97a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/backend/src/utils/notifications.utils.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ export type EventWithAttendees = Event & {
1919

2020
export const usersToSlackPings = (users: UserWithSettings[]) => {
2121
// https://api.slack.com/reference/surfaces/formatting#mentioning-users
22-
return users
23-
.filter((user) => user.userSettings?.slackId)
24-
.map(userToSlackPing)
25-
.join(' ');
22+
return users.map(userToSlackPing).join(' ');
2623
};
2724

2825
export const userToSlackPing = (user: UserWithSettings) => {

0 commit comments

Comments
 (0)