mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-24 16:29:51 +01:00
@@ -51,8 +51,9 @@ app.isConnected = false;
|
|||||||
});
|
});
|
||||||
|
|
||||||
socket.on('event:banned', onEventBanned);
|
socket.on('event:banned', onEventBanned);
|
||||||
|
socket.on('event:alert', function (params) {
|
||||||
socket.on('event:alert', app.alert);
|
app.alert(params);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function onConnect() {
|
function onConnect() {
|
||||||
|
|||||||
Reference in New Issue
Block a user