diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-08-19 11:12:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 11:12:55 -0400 |
commit | 000aa89be63c27092998eca03c97eaead21404cd (patch) | |
tree | 2e4be20583f4c2b0b7744ad993f79f7e543e0a14 /synapse/storage/roommember.py | |
parent | Support MSC3283: Expose `enable_set_displayname` in capabilities (#10452) (diff) | |
download | synapse-000aa89be63c27092998eca03c97eaead21404cd.tar.xz |
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.
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r-- | synapse/storage/roommember.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 9fad67ce48..2500381b7b 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -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) |