|
@ -12,7 +12,7 @@ class StatusPolicy < ApplicationPolicy |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def show? |
|
|
def show? |
|
|
return false if local_only? && current_account.nil? |
|
|
|
|
|
|
|
|
return false if local_only? && (current_account.nil? || !current_account.local?) |
|
|
|
|
|
|
|
|
if direct? |
|
|
if direct? |
|
|
owned? || mention_exists? |
|
|
owned? || mention_exists? |
|
|