mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-25 06:48:01 -05:00
Only allow 'block user' from PMs
This commit is contained in:
@@ -302,7 +302,7 @@
|
||||
%endif
|
||||
%if thing.recipient:
|
||||
${self.banbuttons()}
|
||||
%if thing.thing.author_id != c.user._id and thing.thing.author_id not in c.user.enemies:
|
||||
%if not thing.was_comment and thing.thing.author_id != c.user._id and thing.thing.author_id not in c.user.enemies:
|
||||
<li>
|
||||
${ynbutton(_("block user"), _("blocked"), "block", "hide_thing")}
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user