summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/api/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py
index 4124469442..0a6e78711f 100644
--- a/synapse/api/errors.py
+++ b/synapse/api/errors.py
@@ -344,7 +344,7 @@ class IncompatibleRoomVersionError(SynapseError):
         return cs_error(
             self.msg,
             self.errcode,
-            room_version=self.current_version,
+            room_version=self._room_version,
         )