We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b92ecf2 commit 375f97aCopy full SHA for 375f97a
1 file changed
src/backend/src/utils/notifications.utils.ts
@@ -19,10 +19,7 @@ export type EventWithAttendees = Event & {
19
20
export const usersToSlackPings = (users: UserWithSettings[]) => {
21
// https://api.slack.com/reference/surfaces/formatting#mentioning-users
22
- return users
23
- .filter((user) => user.userSettings?.slackId)
24
- .map(userToSlackPing)
25
- .join(' ');
+ return users.map(userToSlackPing).join(' ');
26
};
27
28
export const userToSlackPing = (user: UserWithSettings) => {
0 commit comments