only for logged in users

v1.18.x
barisusakli 10 years ago
parent 4c90c9a759
commit 699b74603b

@ -93,10 +93,16 @@ SocketModules.composer.renderHelp = function(socket, data, callback) {
};
SocketModules.composer.notifyTyping = function(socket, data) {
if (!socket.uid) {
return;
}
server.in('topic_' + data.tid).emit('event:topic.notifyTyping', data);
};
SocketModules.composer.stopNotifyTyping = function(socket, data) {
if (!socket.uid) {
return;
}
server.in('topic_' + data.tid).emit('event:topic.stopNotifyTyping', data);
};

Loading…
Cancel
Save