Do not include rooms with an unknown room version in a sync response. (#10644)

A user will still see this room if it is in a local cache, but it will
not reappear if clearing the cache and reloading.
This commit is contained in:
Patrick Cloke 2021-08-19 11:12:55 -04:00 committed by GitHub
parent b5fef6054a
commit 000aa89be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 145 additions and 11 deletions

View file

@ -30,6 +30,7 @@ class RoomsForUser:
membership: str
event_id: str
stream_ordering: int
room_version_id: str
@attr.s(slots=True, frozen=True, weakref_slot=False, auto_attribs=True)