Skip to main content

Module meta_post_manager

Module meta_post_manager 

Source
Expand description

§Meta-post lifecycle orchestration

The glue between crate::client::meta_post::meta_post (data model) and the rest of the client. MetaPostManager:

  • loads the current profile from BUCKET_CONFIG on startup,
  • merges incoming meta-post updates (from other devices or from the network) via the per-field VersionedField CRDT rule,
  • writes updates back to storage, and
  • re-publishes the account’s meta-post to the network if the current month’s User bucket no longer contains a fresh enough copy — so following clients and other devices can discover current settings without every profile edit triggering an immediate post.

Structs§

MetaPostManager
Owns all of a user’s config state — profile bio, follows, content thresholds, skip-warnings, etc. — backed by a MetaPostV1 envelope that can be published to the network.