Alert internal users if first message on websocket is repeated
This commit is contained in:
parent
d0b8a2991f
commit
cd2bb537fa
8 changed files with 144 additions and 0 deletions
|
@ -1668,6 +1668,10 @@ export function initialize({
|
|||
window.Whisper.events.trigger('unlinkAndDisconnect');
|
||||
});
|
||||
|
||||
socketManager.on('firstEnvelope', incoming => {
|
||||
window.Whisper.events.trigger('firstEnvelope', incoming);
|
||||
});
|
||||
|
||||
if (useWebSocket) {
|
||||
void socketManager.authenticate({ username, password });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue