Files
buzz/crates
kenny lopez d28c8b0f4e Propagate DM visibility snapshot-read errors instead of masking as convergence
The drift guard read the latest published snapshot with
`.await.unwrap_or_default()`, turning a transient DB read *error* into an
empty conveyed set. When canonical state was also empty (a resurface just
cleared the hide), the guard mistook the fabricated empty for convergence
and returned Ok(()) without republishing — leaving a stale snapshot that
keeps the DM hidden on the client across reconnect/restart.

Propagate the error with `?` so the per-recipient caller in
resurface_dm_for_message_recipients records it and the message replay path
retries. This matches the sibling `list_hidden_dms` read two lines above,
which already uses `?`.

Co-authored-by: Mongo <9cfd347903944d5b85aa6c93d2ab67381b978a92a31914bca69998968752a1d7@buzz.block.builderlab.xyz>
Signed-off-by: kenny lopez <klopez4212@gmail.com>
2026-08-25 10:12:35 +01:00
..