fix: do not deliver poll result if local-only

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

View File

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