From 639f4d673c846a5c65824da26d2316c6f49c2009 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 8 Dec 2021 17:12:41 +0000 Subject: [PATCH] Grab member events in prep for E2E --- src/matrix/Sync3.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/Sync3.ts b/src/matrix/Sync3.ts index ea69f972..fccdab7d 100644 --- a/src/matrix/Sync3.ts +++ b/src/matrix/Sync3.ts @@ -48,6 +48,7 @@ const ROOM_SUB_STATE_EVENTS = [ ["m.room.create", ""], // TODO: Does H need this? ["m.room.encryption", ""], // Used for Encryption: on|off in room details ["m.room.canonical_alias", ""], // Room details shows it + ["m.room.member", "*"], // required for E2EE as we need to know all members to encrypt for when sending msgs ]; // the number of timeline events to get for every currently visible room timeline const ROOM_SUB_TIMELINE_LIMIT = 50;