mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
add tid to topic rename and post delete restore events
This commit is contained in:
@@ -108,6 +108,7 @@ module.exports = function (SocketPosts) {
|
||||
type: 'post-delete',
|
||||
uid: socket.uid,
|
||||
pid: data.pid,
|
||||
tid: postData.tid,
|
||||
ip: socket.ip,
|
||||
});
|
||||
|
||||
@@ -143,6 +144,7 @@ module.exports = function (SocketPosts) {
|
||||
type: 'post-restore',
|
||||
uid: socket.uid,
|
||||
pid: data.pid,
|
||||
tid: postData.tid,
|
||||
ip: socket.ip,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user