mirror of
https://github.com/block/buzz.git
synced 2026-10-30 05:51:46 +00:00
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>