mirror of
https://github.com/mastodon/mastodon.git
synced 2025-10-05 00:22:42 +00:00
Add example post with manual quote approval policy to dev:populate_sample_data
(#36099)
This commit is contained in:
parent
887e982aa2
commit
943cdc5b21
|
@ -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…
Reference in New Issue
Block a user