Add mentioned users by status view (#28)
* Wip * Add mentioned users menu to status * Add test code
This commit is contained in:
parent
2c36bce711
commit
e38eed8855
13 changed files with 379 additions and 1 deletions
|
@ -24,6 +24,10 @@ class StatusPolicy < ApplicationPolicy
|
|||
end
|
||||
end
|
||||
|
||||
def show_mentioned_users?
|
||||
owned?
|
||||
end
|
||||
|
||||
def reblog?
|
||||
!requires_mention? && (!private? || owned?) && show? && !blocking_author?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue