mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 20:43:08 +02:00
merge: fix: quote being returned as null instead of false on mastodon api (!407)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/407 Approved-by: Amelia Yukii <amelia.yukii@shourai.de> Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
commit
34b4646b9f
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ export class MastoConverters {
|
||||||
reactions: status.emoji_reactions,
|
reactions: status.emoji_reactions,
|
||||||
emoji_reactions: status.emoji_reactions,
|
emoji_reactions: status.emoji_reactions,
|
||||||
bookmarked: false,
|
bookmarked: false,
|
||||||
quote: isQuote ? await this.convertReblog(status.reblog) : null,
|
quote: isQuote ? await this.convertReblog(status.reblog) : false,
|
||||||
edited_at: note.updatedAt?.toISOString(),
|
edited_at: note.updatedAt?.toISOString(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue