mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
Make CommentButtons's show_distinguish respect employee flag.
This commit is contained in:
@@ -162,7 +162,10 @@ class CommentButtons(PrintableButtons):
|
||||
and thing.subreddit.allow_comment_gilding
|
||||
)
|
||||
|
||||
show_distinguish = is_author and (thing.can_ban or c.user_special_distinguish)
|
||||
show_distinguish = (is_author and
|
||||
(thing.can_ban or # Moderator distinguish
|
||||
c.user.employee or # Admin distinguish
|
||||
c.user_special_distinguish))
|
||||
|
||||
PrintableButtons.__init__(self, "commentbuttons", thing,
|
||||
is_author = is_author,
|
||||
|
||||
Reference in New Issue
Block a user