mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
[mastodon-client] Don't return reactions with count=0
This commit is contained in:
parent
f3f2f35740
commit
c1354ee5e7
1 changed files with 1 additions and 1 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue