diff --git a/src/libs/actions/App.ts b/src/libs/actions/App.ts index 6442f2ec0ee..6665e4f6b68 100644 --- a/src/libs/actions/App.ts +++ b/src/libs/actions/App.ts @@ -222,7 +222,10 @@ function openApp() { function reconnectApp(updateIDFrom: OnyxEntry = 0) { console.debug(`[OnyxUpdates] App reconnecting with updateIDFrom: ${updateIDFrom}`); getPolicyParamsForOpenOrReconnect().then((policyParams) => { - const params: ReconnectAppParams = {...policyParams}; + const params: ReconnectAppParams = { + ...policyParams, + idempotencyKey:`${WRITE_COMMANDS.RECONNECT_APP}`, + }; // When the app reconnects we do a fast "sync" of the LHN and only return chats that have new messages. We achieve this by sending the most recent reportActionID. // we have locally. And then only update the user about chats with messages that have occurred after that reportActionID.