mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
feat: add uid to post.parent
This commit is contained in:
@@ -196,6 +196,7 @@ module.exports = function (Topics) {
|
||||
parentPosts.forEach((post, i) => {
|
||||
if (usersMap[post.uid]) {
|
||||
parents[parentPids[i]] = {
|
||||
uid: post.uid,
|
||||
username: usersMap[post.uid].username,
|
||||
displayname: usersMap[post.uid].displayname,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user