-- v9 -> v10 (compatible with v1+): Room metadata that goes out again once -- The encrypted rooms whose room metadata goes out again (meta.go, resendRoomMeta). Telegram's and LINE's -- mautrix-go left the empty state key out of the plaintext of encrypted state (mautrix-state-key.patch), and the -- app refused the room metadata they sent. Such a bridge notes its rooms once as it starts, the rooms whose room -- metadata went out, and forgets what that last said; a room's note is cleared once its metadata went again, or -- its owner is out of it (it goes as they come back) or it has no portal. CREATE TABLE xessenger_e2ee_room_meta_again ( bridge_id TEXT NOT NULL, room_id TEXT NOT NULL, PRIMARY KEY (bridge_id, room_id) ); -- The bridges that noted their rooms above, so that they note them only once. CREATE TABLE xessenger_e2ee_room_meta_noted ( bridge_id TEXT NOT NULL, PRIMARY KEY (bridge_id) );