diff --git a/ts/background.ts b/ts/background.ts index 5c6b0d985c..7db5ebe1ff 100644 --- a/ts/background.ts +++ b/ts/background.ts @@ -2474,7 +2474,11 @@ export async function startApp(): Promise { data.source ); - await conversation.setProfileKey(data.profileKey); + const hasChanged = await conversation.setProfileKey(data.profileKey); + + if (hasChanged) { + drop(conversation.getProfiles()); + } confirm(); }