Show critical-idle-primary-device banner in response to WS upgrade response headers
This commit is contained in:
parent
bf438e2456
commit
f5fe787ed7
23 changed files with 337 additions and 14 deletions
|
@ -1812,6 +1812,10 @@ export function initialize({
|
|||
window.Whisper.events.trigger('firstEnvelope', incoming);
|
||||
});
|
||||
|
||||
socketManager.on('serverAlerts', alerts => {
|
||||
window.Whisper.events.trigger('serverAlerts', alerts);
|
||||
});
|
||||
|
||||
if (useWebSocket) {
|
||||
void socketManager.authenticate({ username, password });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue