Clear PNI signature flag on PNI change
This commit is contained in:
parent
8045e97995
commit
edd6ed5fab
2 changed files with 21 additions and 0 deletions
|
@ -1369,6 +1369,7 @@ export default class AccountManager extends EventTarget {
|
|||
|
||||
if (oldPni) {
|
||||
await storage.protocol.removeOurOldPni(oldPni);
|
||||
await window.ConversationController.clearShareMyPhoneNumber();
|
||||
}
|
||||
|
||||
await storage.user.setPni(pni);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue