mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:42:16 +08: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…
Reference in New Issue
Block a user