DEV: review follow up (#27128)

This commit is contained in:
Joffrey JAFFEUX 2024-05-22 10:33:05 +02:00 committed by GitHub
parent 958437e7dd
commit 88ebd4c11f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ function canUserReceiveNotifications(user) {
// Call-in point from message bus
async function onNotification(data, siteSettings, user, appEvents) {
if (!canUserReceiveNotifications(user)) {
return;
return false;
}
if (!liveEnabled) {