upd: improve post editing on polls

Fixes not being able to edit post if poll expiry was set and now checks properly if poll was edited or not
This commit is contained in:
Mar0xy 2023-11-30 02:11:47 +01:00
parent 6fb8a633e0
commit 65a2ea6a74
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
4 changed files with 95 additions and 97 deletions

View file

@ -217,6 +217,7 @@ export type Note = {
clippedCount?: number;
poll?: {
expiresAt: DateString | null;
expiredAfter: DateString | null;
multiple: boolean;
choices: {
isVoted: boolean;