This commit is contained in:
Barış Soner Uşaklı
2020-11-19 09:52:16 -05:00
parent 39279a1e54
commit 903e9d82b8
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ module.exports = function (Messaging) {
const users = await user.getUsersFields(
messages.map(msg => msg && msg.fromuid),
['uid', 'username', 'userslug', 'picture', 'status', 'banned']
['uid', 'username', 'fullname', 'userslug', 'picture', 'status', 'banned']
);
messages.forEach(function (message, index) {

View File

@@ -30,7 +30,7 @@ module.exports = function (Posts) {
const tids = _.uniq(posts.map(p => p && p.tid));
const [users, topicsAndCategories] = await Promise.all([
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture', 'status']),
user.getUsersFields(uids, ['uid', 'username', 'fullname', 'userslug', 'picture', 'status']),
getTopicAndCategories(tids),
]);