Merge remote-tracking branch 'parent/main' into upstream-20240417
This commit is contained in:
commit
51cf7b3eb4
76 changed files with 835 additions and 307 deletions
|
@ -62,7 +62,7 @@ class Announcement < ApplicationRecord
|
|||
@statuses ||= if status_ids.nil?
|
||||
[]
|
||||
else
|
||||
Status.where(id: status_ids, visibility: [:public, :unlisted, :public_unlisted])
|
||||
Status.where(id: status_ids).distributable_visibility_for_anonymous
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue