Fix shouldNotify notification reason (#3009)
This commit is contained in:
parent
e410583fcd
commit
6845d4a261
|
@ -44,7 +44,7 @@ class NotificationManager {
|
|||
return {status: 'error', reason: 'missing_view'};
|
||||
}
|
||||
if (!view.view.shouldNotify) {
|
||||
return {status: 'error', reason: 'view_should_not_notify'};
|
||||
return {status: 'not_sent', reason: 'view_should_not_notify'};
|
||||
}
|
||||
const serverName = view.view.server.name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue