mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
closes #3560
This commit is contained in:
@@ -184,7 +184,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
|
|||||||
};
|
};
|
||||||
|
|
||||||
Chats.sendMessage = function(toUid, inputEl) {
|
Chats.sendMessage = function(toUid, inputEl) {
|
||||||
var msg = S(inputEl.val()).stripTags().s;
|
var msg = inputEl.val();
|
||||||
if (msg.length) {
|
if (msg.length) {
|
||||||
msg = msg +'\n';
|
msg = msg +'\n';
|
||||||
socket.emit('modules.chats.send', {
|
socket.emit('modules.chats.send', {
|
||||||
|
|||||||
Reference in New Issue
Block a user