From b8065489197501e2b65d40dd42ee882211dd4a57 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Thu, 7 Mar 2024 22:23:01 +0800 Subject: [PATCH] don't clear the optimistic personal detail if fail when inviting new user --- src/libs/actions/Policy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libs/actions/Policy.ts b/src/libs/actions/Policy.ts index 38cc11756068..db62c68291a0 100644 --- a/src/libs/actions/Policy.ts +++ b/src/libs/actions/Policy.ts @@ -948,7 +948,6 @@ function addMembersToWorkspace(invitedEmailsToAccountIDs: InvitedEmailsToAccount // need to remove the members since that is handled by onClose of OfflineWithFeedback. value: failureMembersState, }, - ...newPersonalDetailsOnyxData.finallyData, ...membersChats.onyxFailureData, ...announceRoomMembers.onyxFailureData, ];