summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-08-19 11:12:55 -0400
committerGitHub <noreply@github.com>2021-08-19 11:12:55 -0400
commit000aa89be63c27092998eca03c97eaead21404cd (patch)
tree2e4be20583f4c2b0b7744ad993f79f7e543e0a14 /synapse/storage/roommember.py
parentSupport MSC3283: Expose `enable_set_displayname` in capabilities (#10452) (diff)
downloadsynapse-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.py1
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)