mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
closes #758
This commit is contained in:
@@ -120,7 +120,7 @@ Sockets.init = function() {
|
||||
});
|
||||
|
||||
socket.on('*', function(payload, callback) {
|
||||
console.log(this.event);
|
||||
|
||||
// Ignore all non-api messages
|
||||
if (payload.name.substr(0, 4) !== 'api:') {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user