From e5b047aa8c2111d11a658c83c061721598fc660e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 25 Sep 2025 15:42:23 +0100 Subject: [PATCH] Explain why we don't include more fields in invited rooms --- proposals/4186-simplified-sliding-sync.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proposals/4186-simplified-sliding-sync.md b/proposals/4186-simplified-sliding-sync.md index c6a8ef7d6..6da219b12 100644 --- a/proposals/4186-simplified-sliding-sync.md +++ b/proposals/4186-simplified-sliding-sync.md @@ -448,6 +448,10 @@ For rooms the user is invited to or has knocked on, the client also gets the str | - | - | - | - | | `stripped_state` | `[StrippedState]` | Yes | Stripped state events (for rooms where the user is invited). Same as `rooms.invite.$room_id.invite_state` for invites in sync v2. | +The reason these can't be included is because we don't have any of that information for remote invites and the user +isn't participating in the room yet so we shouldn't leak anything to them. We can only rely on the information in the +invite event. + > [!Note] > Synapse currently may inadvertently return extra fields from the previous section.