Files
buzz/crates/buzz-db
morgmart 19a856caed fix(dms): keep DM identity in step with removals
Generic membership kinds 9000, 9001 and 9022 are refused on DMs, so a
DM's members change only through kind:41010/41011, which keep its
identity current. Moderation and admin kicks remove members directly in
the database and still work on DMs; any removal from a DM now releases
its identity under the membership lock, so the DM keeps its history and
opening that group again starts a new DM instead of a stale match.

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 11:56:59 -10:00
..