Fetch updated profile on profile key update

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-04-09 12:38:05 -05:00 committed by GitHub
parent aaf029ddb5
commit 311d0f4dd4
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();
}