Fetch updated profile on profile key update
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
aaf029ddb5
commit
311d0f4dd4
1 changed files with 5 additions and 1 deletions
|
@ -2474,7 +2474,11 @@ export async function startApp(): Promise<void> {
|
||||||
data.source
|
data.source
|
||||||
);
|
);
|
||||||
|
|
||||||
await conversation.setProfileKey(data.profileKey);
|
const hasChanged = await conversation.setProfileKey(data.profileKey);
|
||||||
|
|
||||||
|
if (hasChanged) {
|
||||||
|
drop(conversation.getProfiles());
|
||||||
|
}
|
||||||
|
|
||||||
confirm();
|
confirm();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue