Reconnect websocket on e164 change

This commit is contained in:
Fedor Indutny 2021-09-02 14:47:42 -07:00 committed by GitHub
parent 30075f18fc
commit c7873dd7ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -47,7 +47,7 @@ export class User {
]);
// Notify redux about phone number change
window.Whisper.events.trigger('userChanged');
window.Whisper.events.trigger('userChanged', true);
}
public getNumber(): string | undefined {