fix: do not deliver poll result if local-only

This commit is contained in:
Namekuji 2023-07-04 01:58:51 -04:00
parent 9de97d3ebd
commit bc13416f8e
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

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();
} }