mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-21 16:33:48 +01:00
Add reference to note when poll ends, so note and thread mutings get reflected correctly.
In order for thread mutings to mute the poll ended notification correctly, the note needs to be specified by object, not just by ID
This commit is contained in:
parent
19a5636833
commit
d09ffc4b1c
@ -28,6 +28,7 @@ export async function endedPollNotification(
|
||||
|
||||
for (const userId of userIds) {
|
||||
createNotification(userId, "pollEnded", {
|
||||
note: note,
|
||||
noteId: note.id,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user