Account lookup: fetch relationship

This commit is contained in:
Alex Gleason
2022-06-09 14:59:27 -05:00
parent e4d34f6d69
commit f5024d6c8e

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