Account lookup: fetch relationship
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user