sforkowany z mirror/soapbox
Account lookup: fetch relationship
rodzic
e4d34f6d69
commit
f5024d6c8e
|
@ -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));
|
||||
|
|
Ładowanie…
Reference in New Issue