[mastodon-client] Don't return reactions with count=0

This commit is contained in:
Laura Hausmann 2023-10-11 02:36:38 +02:00
parent f3f2f35740
commit c1354ee5e7
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -163,7 +163,7 @@ export class NoteConverter {
url: url,
static_url: url,
};
});
}).filter(r => r.count > 0);
}
public static async encodeEvent(note: Note, user: ILocalUser | undefined): Promise<MastodonEntity.Status> {