Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b7cdccc

Browse files
committed
Add MSCs to /versions unstable_features
As suggested in matrix-org/matrix-react-sdk#7372 (comment)
1 parent 8391bd6 commit b7cdccc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

synapse/config/experimental.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def read_config(self, config: JsonDict, **kwargs):
3232
# MSC3026 (busy presence state)
3333
self.msc3026_enabled: bool = experimental.get("msc3026_enabled", False)
3434

35-
# MSC2716 (backfill existing history)
35+
# MSC2716 (importing historical messages)
3636
self.msc2716_enabled: bool = experimental.get("msc2716_enabled", False)
3737

3838
# MSC2285 (hidden read receipts)

synapse/rest/client/versions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ def on_GET(self, request: Request) -> Tuple[int, JsonDict]:
9393
"org.matrix.msc3026.busy_presence": self.config.experimental.msc3026_enabled,
9494
# Supports receiving hidden read receipts as per MSC2285
9595
"org.matrix.msc2285": self.config.experimental.msc2285_enabled,
96+
# Adds support for importing historical messages as per MSC2716
97+
"org.matrix.msc2716": self.config.experimental.msc2716_enabled,
98+
# Adds support for jump to date endpoints (/timestamp_to_event) as per MSC3030
99+
"org.matrix.msc3030": self.config.experimental.msc3030_enabled,
96100
},
97101
},
98102
)

0 commit comments

Comments
 (0)