mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-04 15:12:07 +00:00
Merge efb2f5f5e3
into 4c0e44ebbe
This commit is contained in:
commit
4a4f7c0d51
|
@ -59,12 +59,7 @@ const Comment = ({ comment, domain, statusIds, isRemote, isSubmitting, selectedD
|
|||
|
||||
loadedRef.current = true;
|
||||
|
||||
// First, pre-select known domains
|
||||
availableDomains.forEach((domain) => {
|
||||
onToggleDomain(domain, true);
|
||||
});
|
||||
|
||||
// Then, fetch missing replied-to accounts
|
||||
// Fetch missing replied-to accounts
|
||||
const unknownAccounts = OrderedSet(accountIds.filter(accountId => accountId && !accountsMap.has(accountId)));
|
||||
unknownAccounts.forEach((accountId) => {
|
||||
dispatch(fetchAccount(accountId));
|
||||
|
|
Loading…
Reference in New Issue
Block a user