Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857)
authorFreakazoid182 <fvanzee@gmail.com>
Fri, 11 Aug 2023 09:13:14 +0000 (11:13 +0200)
committerGitHub <noreply@github.com>
Fri, 11 Aug 2023 09:13:14 +0000 (11:13 +0200)
commitc8063f3267cf2b3622f1fdc69128c6b55feefbbc
treee801d1a9011f94c83375a199d6b92383e90d0575
parent9b710a2ed3df7411f97e873ae445e96fa5a8bd56
Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857)

* Replace Option<bool> with bool for PostQuery and CommentQuery (#3819)

* Replace Option<bool> from all list queries (#3819)

---------

Co-authored-by: Freek van Zee <freek.van.zee@mediamonks.com>
33 files changed:
crates/api/src/comment_report/list.rs
crates/api/src/community/block.rs
crates/api/src/community/follow.rs
crates/api/src/community/transfer.rs
crates/api/src/local_user/notifications/list_mentions.rs
crates/api/src/local_user/notifications/list_replies.rs
crates/api/src/post/mark_read.rs
crates/api/src/post/save.rs
crates/api/src/post_report/create.rs
crates/api/src/post_report/list.rs
crates/api/src/private_message_report/list.rs
crates/api/src/site/registration_applications/list.rs
crates/api_common/src/build_response.rs
crates/api_crud/src/community/list.rs
crates/api_crud/src/post/read.rs
crates/api_crud/src/private_message/read.rs
crates/apub/src/api/list_comments.rs
crates/apub/src/api/list_posts.rs
crates/apub/src/api/read_community.rs
crates/apub/src/api/read_person.rs
crates/apub/src/api/resolve_object.rs
crates/apub/src/api/search.rs
crates/db_views/src/comment_report_view.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_report_view.rs
crates/db_views/src/post_view.rs
crates/db_views/src/private_message_report_view.rs
crates/db_views/src/private_message_view.rs
crates/db_views/src/registration_application_view.rs
crates/db_views_actor/src/comment_reply_view.rs
crates/db_views_actor/src/community_view.rs
crates/db_views_actor/src/person_mention_view.rs
crates/routes/src/feeds.rs