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:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user