fix: Confirm follow prompt showing up when cancelling follow request

This commit is contained in:
Marie 2025-03-08 10:52:43 +00:00
parent 424c71248c
commit 19fc0a9351

View file

@ -106,7 +106,7 @@ async function onClick() {
userId: props.user.id,
});
} else {
if (defaultStore.state.alwaysConfirmFollow) {
if (defaultStore.state.alwaysConfirmFollow && !hasPendingFollowRequestFromYou.value) {
const { canceled } = await os.confirm({
type: 'question',
text: i18n.tsx.followConfirm({ name: props.user.name || props.user.username }),