core: fix races on member removal / delivery of their messages (#7010)

This commit is contained in:
spaced4ndy
2026-05-26 09:07:26 +00:00
committed by GitHub
parent f3abb7aa76
commit 037c05cd29
13 changed files with 173 additions and 17 deletions
@@ -222,6 +222,7 @@ CREATE TABLE group_members(
member_relations_vector BLOB,
relay_link BLOB,
member_pub_key BLOB,
removed_at TEXT,
FOREIGN KEY(user_id, local_display_name)
REFERENCES display_names(user_id, local_display_name)
ON DELETE CASCADE