We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9ca446 commit 09ccbdaCopy full SHA for 09ccbda
1 file changed
server/src/functions/messages.sendMessage.ts
@@ -705,8 +705,8 @@ async function sendNotifications(input: SendPushForMsgInput) {
705
// TODO: send to users who have it set to All immediately
706
// Handle DMs and threads
707
for (let userId of updateGroup.userIds) {
708
- if (userId === currentUserId) {
709
- // Don't send push notifications to yourself
+ if (userId === currentUserId && !isNudge) {
+ // Don't send push notifications to yourself unless it's a nudge.
710
continue
711
}
712
0 commit comments