better poll editing - fixes #668
* editing _just the poll_ is now recognised as an actual change to the note * the "poll ended" notification job is now replaced (with potentially the new expiry time)
This commit is contained in:
parent
1ec5e846c5
commit
1f53eb2ed1
2 changed files with 6 additions and 3 deletions
|
|
@ -629,6 +629,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
this.queueService.endedPollNotificationQueue.add(note.id, {
|
||||
noteId: note.id,
|
||||
}, {
|
||||
jobId: `pollEnd:${note.id}`,
|
||||
delay,
|
||||
removeOnComplete: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue