From 2b448a0f760296c92a8e0251b6a568252aef6e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 1 Mar 2016 22:00:28 +0200 Subject: [PATCH] closes #4293 --- src/user/posts.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/user/posts.js b/src/user/posts.js index e9f64ef073..78a2db0923 100644 --- a/src/user/posts.js +++ b/src/user/posts.js @@ -72,6 +72,9 @@ module.exports = function(User) { }, function(next) { User.setUserField(postData.uid, 'lastposttime', postData.timestamp, next); + }, + function(next) { + User.updateLastOnlineTime(postData.uid, next); } ], callback); };