Skip to content

Node.js based forum software built for the modern web

closes #4293

Barış Soner Uşaklı2b448a0f7602
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);
};