mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
Include the topic's creator in transformed posts
This commit is contained in:
parent
bd83cf7f4c
commit
b1ac7491de
@ -87,6 +87,7 @@ export default function transformPost(currentUser, site, post, prevPost, nextPos
|
||||
|
||||
postAtts.topicId = topic.id;
|
||||
postAtts.topicOwner = details.created_by.id === post.user_id;
|
||||
postAtts.topicCreatedById = details.created_by.id;
|
||||
postAtts.post_type = postType;
|
||||
postAtts.via_email = post.via_email;
|
||||
postAtts.isModeratorAction = postType === postTypes.moderator_action;
|
||||
|
Loading…
Reference in New Issue
Block a user