fix: pinned being set to null causing errors in masto api

This commit is contained in:
Mar0xy 2023-11-17 14:05:36 +01:00
parent 2267f5a619
commit 902e5a81f9
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -272,7 +272,7 @@ export class MastoConverters {
poll: status.poll ?? null, poll: status.poll ?? null,
application: null, //FIXME application: null, //FIXME
language: null, //FIXME language: null, //FIXME
pinned: null, pinned: false,
reactions: status.emoji_reactions, reactions: status.emoji_reactions,
emoji_reactions: status.emoji_reactions, emoji_reactions: status.emoji_reactions,
bookmarked: false, bookmarked: false,