From f5024d6c8e960399d065e22c0761e5bbaa0075e2 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 9 Jun 2022 14:59:27 -0500 Subject: [PATCH] Account lookup: fetch relationship --- app/soapbox/actions/accounts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/actions/accounts.js b/app/soapbox/actions/accounts.js index 0fbb5c1a5..5cc0008a4 100644 --- a/app/soapbox/actions/accounts.js +++ b/app/soapbox/actions/accounts.js @@ -176,6 +176,7 @@ export function fetchAccountByUsername(username, history) { }); } else if (features.accountLookup) { return dispatch(accountLookup(username)).then(account => { + dispatch(fetchRelationships([account.id])); dispatch(fetchAccountSuccess(account)); }).catch(error => { dispatch(fetchAccountFail(null, error));