lemmy/crates/apub/src
Nutomic 9d26ac2c6f
Fix listing type default value (#2796)
* Fix listing type default value

The listing type parameter is only meant for the frontpage, but is
also applied inside of communities. The result is that this call
returns nothing, because it defaults to ListingType::Local:
https://fedibb.ml/api/v3/post/list?community_id=3

It needs to be called like this to get any posts:
https://fedibb.ml/api/v3/post/list?community_id=3&type_=All

This is clearly not expected behaviour, when a community is
specified, the listing type should default to All.

* fix clippy
2023-04-12 10:40:59 -04:00
..
activities Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
api Fix listing type default value (#2796) 2023-04-12 10:40:59 -04:00
collections Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
fetcher Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
http Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
objects Optimize federated language updates to avoid unnecessary db writes (#2786) 2023-03-30 11:03:13 -04:00
protocol Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
activity_lists.rs Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
lib.rs Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00
mentions.rs Activitypub crate rewrite (#2782) 2023-03-21 16:03:05 +01:00