mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
topic titles can be edited now
This commit is contained in:
@@ -236,7 +236,7 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
|
||||
});
|
||||
|
||||
socket.on('api:posts.edit', function(data) {
|
||||
postTools.edit(uid, data.pid, data.content);
|
||||
postTools.edit(uid, data.pid, data.title, data.content);
|
||||
});
|
||||
|
||||
socket.on('api:posts.delete', function(data) {
|
||||
|
||||
Reference in New Issue
Block a user