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

Commit 41fcf5c

Browse files
committed
Change error code to MSC3895
1 parent 89fdb72 commit 41fcf5c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

synapse/api/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ class Codes(str, Enum):
103103
# Returned for federation requests where we can't process a request as we
104104
# can't ensure the sending server is in a room which is partial-stated on
105105
# our side.
106-
# Part of MSC3706-rei1.
107-
UNABLE_DUE_TO_PARTIAL_STATE = "ORG.MATRIX.MSC3706_UNABLE_DUE_TO_PARTIAL_STATE"
106+
# Part of MSC3895.
107+
UNABLE_DUE_TO_PARTIAL_STATE = "ORG.MATRIX.MSC3895_UNABLE_DUE_TO_PARTIAL_STATE"
108108

109109

110110
class CodeMessageException(RuntimeError):

synapse/config/experimental.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def read_config(self, config: JsonDict, **kwargs: Any) -> None:
6363
# MSC3706 (server-side support for partial state in /send_join responses)
6464
self.msc3706_enabled: bool = experimental.get("msc3706_enabled", False)
6565

66-
# experimental support for faster joins over federation (msc2775, msc3706)
66+
# experimental support for faster joins over federation
67+
# (MSC2775, MSC3706, MSC3895)
6768
# requires a target server with msc3706_enabled enabled.
6869
self.faster_joins_enabled: bool = experimental.get("faster_joins", False)
6970

0 commit comments

Comments
 (0)