[mastodon-client] Fix handling of empty tagged param in getUserStatuses

This commit is contained in:
Laura Hausmann 2023-10-08 01:07:27 +02:00
parent b3c186a14a
commit 4d6111d1a4
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -326,7 +326,7 @@ export class UserHelpers {
if (limit > 40) limit = 40;
const localUser = ctx.user as ILocalUser | null;
if (tagged !== undefined) {
if (tagged !== undefined && tagged.length > 0) {
//FIXME respect tagged
return [];
}