add tid to topic rename and post delete restore events

This commit is contained in:
Barış Soner Uşaklı
2018-10-03 19:16:32 -04:00
parent f77091d1ed
commit d1491feed9
2 changed files with 3 additions and 0 deletions

View File

@@ -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,
});