Fix: remove push to chat

This commit is contained in:
Tainan Felipe 2024-04-22 20:31:31 -03:00
parent e5c2251d8d
commit 2f70b4d6c5

View File

@ -17,9 +17,7 @@ export const NotifyPublishedPoll = (
presenter: boolean, presenter: boolean,
) => { ) => {
if ( if (
// @ts-ignore - JS code (presenter || isModerator)
Settings.application.chatPushAlerts
&& (presenter || isModerator)
) { ) {
notifier(notification); notifier(notification);
} }