From 71204d5007702ef09a3bc905f5208803e3b728d0 Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Thu, 21 Apr 2022 02:56:19 +0000 Subject: [PATCH] Account fix FossilOrigin-Name: 1e8bd3e522ede06e1b42b3840a39045f6bc80ed66163d34d87612a6b6b1d4dd5 --- src/account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.c b/src/account.c index f1fa394..723113e 100644 --- a/src/account.c +++ b/src/account.c @@ -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);