fix(frontend): incorrectly showRepliesToOthersInTimeline can be shown

This commit is contained in:
anatawa12 2023-10-16 17:35:22 +09:00
parent 2862d362b5
commit 9a941941b0
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
2 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,7 @@ async function onClick() {
userId: props.user.id,
withReplies: defaultStore.state.defaultWithReplies,
});
props.user.withReplies = defaultStore.state.defaultWithReplies;
hasPendingFollowRequestFromYou = true;
claimAchievement('following1');

View File

@ -31,6 +31,7 @@ async function follow(user): Promise<void> {
userId: user.id,
withReplies: defaultStore.state.defaultWithReplies,
});
user.withReplies = defaultStore.state.defaultWithReplies;
}
const acct = new URL(location.href).searchParams.get('acct');