fix: Profile lookups on custom local timelines now work

This commit is contained in:
LucasGGamerM
2023-02-22 17:21:33 -03:00
parent a72849bae1
commit 8111ea04b9
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package org.joinmastodon.android.api.requests.accounts;
import org.joinmastodon.android.api.MastodonAPIRequest;
import org.joinmastodon.android.model.Account;
public class GetAccountByHandle extends MastodonAPIRequest<Account>{
public GetAccountByHandle(String acct){
super(HttpMethod.GET, "/accounts/lookup", Account.class);
addQueryParameter("acct", acct);
}
}