mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 19:34:04 +01:00
Update socket status more eagerly
This commit is contained in:
@@ -1093,6 +1093,10 @@ export function initialize({
|
||||
proxyUrl,
|
||||
});
|
||||
|
||||
socketManager.on('statusChange', () => {
|
||||
window.Whisper.events.trigger('socketStatusChange');
|
||||
});
|
||||
|
||||
socketManager.on('authError', () => {
|
||||
window.Whisper.events.trigger('unlinkAndDisconnect');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user