mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
fixing quoting that broke with the introduction of the new post window
This commit is contained in:
@@ -316,6 +316,7 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
|
||||
if (parseInt(data.tid) > 0) {
|
||||
topics.get_topic(data.tid, uid, function(topicData) {
|
||||
topicData.tid = data.tid;
|
||||
if (data.body) topicData.body = data.body;
|
||||
socket.emit('api:composer.push', topicData);
|
||||
});
|
||||
} else if (parseInt(data.cid) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user