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

Commit aa5f5ed

Browse files
authored
Remove unstable identifiers for MSC3069. (#12596)
1 parent d66d68f commit aa5f5ed

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

changelog.d/12596.removal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unstable identifiers from [MSC3069](https://github.com/matrix-org/matrix-doc/pull/3069).

synapse/rest/client/account.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,9 +882,7 @@ async def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]:
882882

883883
response = {
884884
"user_id": requester.user.to_string(),
885-
# MSC: https://github.com/matrix-org/matrix-doc/pull/3069
886885
# Entered spec in Matrix 1.2
887-
"org.matrix.msc3069.is_guest": bool(requester.is_guest),
888886
"is_guest": bool(requester.is_guest),
889887
}
890888

tests/rest/client/test_account.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,6 @@ def test_GET_whoami(self) -> None:
520520
{
521521
"user_id": user_id,
522522
"device_id": device_id,
523-
# MSC3069 entered spec in Matrix 1.2 but maintained compatibility
524-
"org.matrix.msc3069.is_guest": False,
525523
"is_guest": False,
526524
},
527525
)
@@ -540,8 +538,6 @@ def test_GET_whoami_guests(self) -> None:
540538
{
541539
"user_id": user_id,
542540
"device_id": device_id,
543-
# MSC3069 entered spec in Matrix 1.2 but maintained compatibility
544-
"org.matrix.msc3069.is_guest": True,
545541
"is_guest": True,
546542
},
547543
)
@@ -564,8 +560,6 @@ def test_GET_whoami_appservices(self) -> None:
564560
whoami,
565561
{
566562
"user_id": user_id,
567-
# MSC3069 entered spec in Matrix 1.2 but maintained compatibility
568-
"org.matrix.msc3069.is_guest": False,
569563
"is_guest": False,
570564
},
571565
)

0 commit comments

Comments
 (0)