Skip to content

Node.js based forum software built for the modern web

add tid to post-purge event

Barış Soner Uşaklıb033d6f115eb
diff --git a/src/socket.io/posts/tools.js b/src/socket.io/posts/tools.js
index baec3a8483..c50bed33ca 100644
--- a/src/socket.io/posts/tools.js
+++ b/src/socket.io/posts/tools.js
@@ -206,6 +206,7 @@ module.exports = function (SocketPosts) {
uid: socket.uid,
pid: data.pid,
ip: socket.ip,
+ tid: postData.tid,
title: String(topicData.title),
}, next);
},