Add example post with manual quote approval policy to dev:populate_sample_data (#36099)

This commit is contained in:
Claire 2025-09-15 17:35:33 +02:00 committed by GitHub
parent 887e982aa2
commit 943cdc5b21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -436,6 +436,13 @@ namespace :dev do
quoted_status: quoted,
state: :accepted
).find_or_create_by!(id: 10_000_013)
Status.create_with(
text: 'This post has a manual quote policy',
account: remote_account,
visibility: :public,
quote_approval_policy: Status::QUOTE_APPROVAL_POLICY_FLAGS[:public]
).find_or_create_by!(id: 10_000_030)
end
end
end