mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
DEV: review follow up (#27128)
This commit is contained in:
parent
958437e7dd
commit
88ebd4c11f
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user