Allow boosting own private toots (#6157)
* Adjust policy to allow boosting own private toots * Add ability to reblog private toots from dropdown menu
This commit is contained in:
@ -16,7 +16,7 @@ class StatusPolicy < ApplicationPolicy
|
||||
end
|
||||
|
||||
def reblog?
|
||||
!direct? && !private? && show?
|
||||
!direct? && (!private? || owned?) && show?
|
||||
end
|
||||
|
||||
def destroy?
|
||||
|
Reference in New Issue
Block a user