mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-31 23:51:16 +01:00
Do not enable "forward report" toggle by default
This commit is contained in:
parent
82161d8ae5
commit
efb2f5f5e3
1 changed files with 1 additions and 6 deletions
|
@ -59,12 +59,7 @@ const Comment = ({ comment, domain, statusIds, isRemote, isSubmitting, selectedD
|
||||||
|
|
||||||
loadedRef.current = true;
|
loadedRef.current = true;
|
||||||
|
|
||||||
// First, pre-select known domains
|
// Fetch missing replied-to accounts
|
||||||
availableDomains.forEach((domain) => {
|
|
||||||
onToggleDomain(domain, true);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Then, fetch missing replied-to accounts
|
|
||||||
const unknownAccounts = OrderedSet(accountIds.filter(accountId => accountId && !accountsMap.has(accountId)));
|
const unknownAccounts = OrderedSet(accountIds.filter(accountId => accountId && !accountsMap.has(accountId)));
|
||||||
unknownAccounts.forEach((accountId) => {
|
unknownAccounts.forEach((accountId) => {
|
||||||
dispatch(fetchAccount(accountId));
|
dispatch(fetchAccount(accountId));
|
||||||
|
|
Loading…
Reference in a new issue