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
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 {