mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
|
// Call-in point from message bus
|
||||||
async function onNotification(data, siteSettings, user, appEvents) {
|
async function onNotification(data, siteSettings, user, appEvents) {
|
||||||
if (!canUserReceiveNotifications(user)) {
|
if (!canUserReceiveNotifications(user)) {
|
||||||
return;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!liveEnabled) {
|
if (!liveEnabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user