fix: do not deliver poll reulst if local-only

This commit is contained in:
Namekuji 2023-07-04 01:58:51 -04:00
parent 3955d8f51b
commit 5029a8a7c3

View File

@ -33,7 +33,7 @@ export async function endedPollNotification(
} }
// Broadcast the poll result once it ends // Broadcast the poll result once it ends
await deliverQuestionUpdate(note.id); if (!note.localOnly) await deliverQuestionUpdate(note.id);
done(); done();
} }