Update socket status more eagerly
This commit is contained in:
parent
3cf6ea882b
commit
f937eba94e
3 changed files with 20 additions and 3 deletions
|
@ -1093,6 +1093,10 @@ export function initialize({
|
|||
proxyUrl,
|
||||
});
|
||||
|
||||
socketManager.on('statusChange', () => {
|
||||
window.Whisper.events.trigger('socketStatusChange');
|
||||
});
|
||||
|
||||
socketManager.on('authError', () => {
|
||||
window.Whisper.events.trigger('unlinkAndDisconnect');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue