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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
}