fix: do not deliver poll result if local-only
This commit is contained in:
parent
9de97d3ebd
commit
bc13416f8e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue