mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[mastodon-client] Fix handling of empty tagged param in getUserStatuses
This commit is contained in:
parent
b3c186a14a
commit
4d6111d1a4
@ -326,7 +326,7 @@ export class UserHelpers {
|
|||||||
if (limit > 40) limit = 40;
|
if (limit > 40) limit = 40;
|
||||||
const localUser = ctx.user as ILocalUser | null;
|
const localUser = ctx.user as ILocalUser | null;
|
||||||
|
|
||||||
if (tagged !== undefined) {
|
if (tagged !== undefined && tagged.length > 0) {
|
||||||
//FIXME respect tagged
|
//FIXME respect tagged
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user