mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: quote whole post button was broken
This commit is contained in:
@@ -181,7 +181,7 @@ class PostSerializer < BasicPostSerializer
|
||||
end
|
||||
|
||||
def include_raw?
|
||||
@add_raw.present? && (scope.user.try(:staff?) || yours)
|
||||
@add_raw.present? && (!object.hidden || scope.user.try(:staff?) || yours)
|
||||
end
|
||||
|
||||
def include_link_counts?
|
||||
|
||||
Reference in New Issue
Block a user