forked from mirrors/treebird
Account fix
FossilOrigin-Name: 1e8bd3e522ede06e1b42b3840a39045f6bc80ed66163d34d87612a6b6b1d4dd5
This commit is contained in:
parent
b107b2f310
commit
71204d5007
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ static void fetch_account_page(struct session* ssn,
|
|||
int lookup_type = config_experimental_lookup ? MSTDNT_LOOKUP_ACCT : MSTDNT_LOOKUP_ID;
|
||||
|
||||
if (mastodont_get_account(api, lookup_type, id,
|
||||
&acct, &storage, NULL) ||
|
||||
&acct, &storage) ||
|
||||
mastodont_get_relationships(api, &(acct.id), 1, &relations_storage, &relationships, &relationships_len))
|
||||
{
|
||||
account_page = construct_error(storage.error, E_ERROR, 1, NULL);
|
||||
|
|
Loading…
Reference in a new issue