Skip to content

Node.js based forum software built for the modern web

feat: add status to post summaries

Baris Usakli41bc6ca2c43e
diff --git a/src/posts/summary.js b/src/posts/summary.js
index 189efb7408..ec746224b8 100644
--- a/src/posts/summary.js
+++ b/src/posts/summary.js
@@ -43,7 +43,7 @@ module.exports = function (Posts) {
});
async.parallel({
users: function (next) {
- user.getUsersFields(Object.keys(uids), ['uid', 'username', 'userslug', 'picture'], next);
+ user.getUsersFields(Object.keys(uids), ['uid', 'username', 'userslug', 'picture', 'status'], next);
},
topicsAndCategories: function (next) {
getTopicAndCategories(Object.keys(topicKeys), next);