mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Don't reveal banner's identity when replying
This commit is contained in:
committed by
Neil Williams
parent
7e1db722af
commit
6dbe531ff2
@@ -909,7 +909,10 @@ class ApiController(RedditController):
|
||||
errors.USER_BLOCKED)):
|
||||
|
||||
if is_message:
|
||||
to = Account._byID(parent.author_id)
|
||||
if parent.from_sr:
|
||||
to = Subreddit._byID(parent.sr_id)
|
||||
else:
|
||||
to = Account._byID(parent.author_id)
|
||||
subject = parent.subject
|
||||
re = "re: "
|
||||
if not subject.startswith(re):
|
||||
|
||||
Reference in New Issue
Block a user