mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Revert "Temporarily use "[deleted]" in JSON for deleted usernames."
This commit is contained in:
@@ -157,7 +157,7 @@ class ThingJsonTemplate(JsonTemplate):
|
||||
"""
|
||||
if attr == "author":
|
||||
if thing.author._deleted:
|
||||
return "[deleted]"
|
||||
return None
|
||||
return thing.author.name
|
||||
if attr == "author_flair_text":
|
||||
if thing.author._deleted:
|
||||
|
||||
Reference in New Issue
Block a user