Skip to content

Commit

Permalink
[FIX] Email notifications were still being sent for online users (#18088
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Densik authored and sampaiodiego committed Jul 2, 2020
1 parent cc8012d commit c3bbae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/lib/server/lib/sendNotificationsOnMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export const sendNotification = async ({

if (receiver.emails && shouldNotifyEmail({
disableAllMessageNotifications,
statusConnection: receiver.statusConnection,
emailNotifications,
isHighlighted,
hasMentionToUser,
Expand Down

0 comments on commit c3bbae0

Please sign in to comment.