mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-02-03 21:30:20 -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,
|
url: url,
|
||||||
static_url: url,
|
static_url: url,
|
||||||
};
|
};
|
||||||
});
|
}).filter(r => r.count > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async encodeEvent(note: Note, user: ILocalUser | undefined): Promise<MastodonEntity.Status> {
|
public static async encodeEvent(note: Note, user: ILocalUser | undefined): Promise<MastodonEntity.Status> {
|
||||||
|
|
Loading…
Reference in a new issue