Account lookup: fetch relationship

This commit is contained in:
Alex Gleason 2022-06-09 14:59:27 -05:00
parent e4d34f6d69
commit f5024d6c8e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 0 deletions

View File

@ -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));