Store directs in database rather than account data

This commit is contained in:
Cadence Ember 2025-08-21 11:30:23 +12:00
parent 5e4bea6ce6
commit 954d41269c
6 changed files with 54 additions and 57 deletions

View file

@ -188,4 +188,8 @@ INSERT INTO invite (mxid, room_id, type, name, avatar, topic) VALUES
('@cadence:cadence.moe', '!room:cadence.moe', NULL, 'some room', NULL, NULL),
('@rnl:cadence.moe', '!space:cadence.moe', NULL, 'somebody else''s space', NULL, NULL);
INSERT INTO direct (mxid, room_id) VALUES
('@user1:example.org', '!existing:cadence.moe'),
('@user2:example.org', '!existing:cadence.moe');
COMMIT;