Skip to content

Node.js based forum software built for the modern web

fix: restore uid in teasers userObj

Julian Lam67b8cb897761
diff --git a/src/categories/recentreplies.js b/src/categories/recentreplies.js
index b00dac3ccc..02def5dd3b 100644
--- a/src/categories/recentreplies.js
+++ b/src/categories/recentreplies.js
@@ -138,7 +138,6 @@ module.exports = function (Categories) {
teaser.parentCid = parseInt(parentCids[teaser.cid], 10) || 0;
teaser.tid = undefined;
teaser.uid = undefined;
- teaser.user.uid = undefined;
teaser.topic = {
slug: topicData[index].slug,
title: topicData[index].title,