Skip to content

Commit 8418f0d

Browse files
authored
Fix missing statusConnection parameter
Missing the statusConnection parameter, and not preventing emails being sent if online.
1 parent 986d2a7 commit 8418f0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/lib/server/lib/sendNotificationsOnMessage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export const sendNotification = async ({
147147

148148
if (receiver.emails && shouldNotifyEmail({
149149
disableAllMessageNotifications,
150+
receiver.statusConnection,
150151
emailNotifications,
151152
isHighlighted,
152153
hasMentionToUser,

0 commit comments

Comments
 (0)