mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
JSON: add link_author to out-of-context comments
This commit is contained in:
@@ -522,6 +522,7 @@ class CommentJsonTemplate(ThingJsonTemplate):
|
||||
d = ThingJsonTemplate.raw_data(self, thing)
|
||||
if c.profilepage:
|
||||
d['link_title'] = thing.link.title
|
||||
d['link_author'] = thing.link_author.name
|
||||
return d
|
||||
|
||||
def rendered_data(self, wrapped):
|
||||
|
||||
Reference in New Issue
Block a user