Skip to main content

Module post_bundle_feedback_manager

Module post_bundle_feedback_manager 

Source
Expand description

§Post-bundle feedback lookup trait

Counterpart of crate::client::post_bundle::post_bundle_manager::PostBundleManager. Where the post-bundle manager fetches the posts themselves, this trait fetches the crate::protocol::posting::encoded_post_bundle_feedback::EncodedPostBundleFeedbackV1 carrying reactions, flags, and visibility hints.

They are split because feedback mutates long after the underlying bundle has sealed, and many clients (e.g. a read-only archival cache) don’t need the feedback layer at all. Separating the trait keeps both concerns independently cacheable and testable.

Traits§

PostBundleFeedbackManager
The counterpart to PostBundleManager that fetches the signed feedback attached to a post bundle — the reactions, flags, and visibility hints that clients use to filter and rank the posts they display.