mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Let's not show tons of extra information about invites unless you're the
person who invited them.
This commit is contained in:
@@ -176,7 +176,7 @@ class Guardian
|
||||
@user.approved?
|
||||
end
|
||||
|
||||
def can_see_pending_invites_from?(user)
|
||||
def can_see_invite_details?(user)
|
||||
is_me?(user)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user