Fetch updated profile on profile key update

This commit is contained in:
Fedor Indutny
2024-04-09 18:55:47 +02:00
committed by GitHub
parent 61710eb8e3
commit c81b12a2a5
+5 -1
View File
@@ -2474,7 +2474,11 @@ export async function startApp(): Promise<void> {
data.source
);
await conversation.setProfileKey(data.profileKey);
const hasChanged = await conversation.setProfileKey(data.profileKey);
if (hasChanged) {
drop(conversation.getProfiles());
}
confirm();
}