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,
) => {
if (
// @ts-ignore - JS code
Settings.application.chatPushAlerts
&& (presenter || isModerator)
(presenter || isModerator)
) {
notifier(notification);
}