Grab member events in prep for E2E

This commit is contained in:
Kegan Dougal 2021-12-08 17:12:41 +00:00
parent 50294d2bfd
commit 639f4d673c

View file

@ -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;