mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
[mastodon-client] Don't return reactions with count=0
This commit is contained in:
parent
f3f2f35740
commit
c1354ee5e7
@ -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 New Issue
Block a user