core: improve group link protocol (immediately establish group connection without first creating contact) (#3288)

This commit is contained in:
spaced4ndy
2023-10-30 20:40:20 +04:00
committed by GitHub
parent 9568279b0f
commit f34bbdbd9c
15 changed files with 613 additions and 39 deletions
@@ -146,6 +146,7 @@ CREATE TABLE group_members(
updated_at TEXT CHECK(updated_at NOT NULL),
member_profile_id INTEGER REFERENCES contact_profiles ON DELETE SET NULL,
show_messages INTEGER NOT NULL DEFAULT 1,
xgrplinkmem_received INTEGER NOT NULL DEFAULT 0,
FOREIGN KEY(user_id, local_display_name)
REFERENCES display_names(user_id, local_display_name)
ON DELETE CASCADE