Fix shouldNotify notification reason (#3009)

This commit is contained in:
Devin Binnie 2024-04-19 09:17:13 -04:00 committed by GitHub
parent e410583fcd
commit 6845d4a261
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;