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

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;