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

pull/35814/head
Claire 2 months ago committed by GitHub
parent 887e982aa2
commit 943cdc5b21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save