Skip to content

Commit

Permalink
Update unstable prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Nov 4, 2024
1 parent b0afe11 commit 56b6b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/rest/client/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]:
user.to_string(), ExperimentalFeature.MSC4222
):
use_state_after = parse_boolean(
request, "org.matrix.use_state_after", default=False
request, "org.matrix.msc4222.use_state_after", default=False
)

logger.debug(
Expand Down Expand Up @@ -576,7 +576,7 @@ async def encode_room(
# We either include a `state` or `state_after` field depending on
# whether the client has opted in to the newer `state_after` behavior.
if sync_config.use_state_after:
state_key_name = "org.matrix.state_after"
state_key_name = "org.matrix.msc4222.state_after"
else:
state_key_name = "state"

Expand Down

0 comments on commit 56b6b30

Please sign in to comment.