fix timestamp on posts.reply

This commit is contained in:
barisusakli
2016-08-16 22:27:21 +03:00
parent e26166a45b
commit 3b0eca3be2
2 changed files with 10 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ SocketPosts.reply = function(socket, data, callback) {
data.uid = socket.uid;
data.req = websockets.reqFromSocket(socket);
data.timestamp = Date.now();
topics.reply(data, function(err, postData) {
if (err) {