Compare commits

...

2 commits

Author SHA1 Message Date
Johannes Marbach 4a8aad0959
Merge e8423193d4 into 65b1db721d 2025-04-15 18:24:49 +01:00
Johannes Marbach e8423193d4 Clarify the meaning of "public rooms" for profile look-ups
Relates to: #633
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2025-03-18 13:44:15 +01:00
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1 @@
"Public" rooms in profile look-ups are defined through their join rule and history visibility.

View file

@ -2847,10 +2847,15 @@ re-invited.
#### Server behaviour
Homeservers MUST at a minimum allow profile look-up for:
Homeservers MUST at a minimum allow profile look-up for users who are
visible to the requester based on their membership in rooms known to the
homeserver. This means:
- users that share a room with the requesting user
- users that reside in public rooms known to the homeserver
- users who are joined to rooms known to the homeserver that have a
`public` [join rule](#mroomjoin_rules)
- users who are joined to rooms known to the homeserver that have a
`world_readable` [history visibility](#room-history-visibility)
In all other cases, homeservers MAY deny profile look-up by responding with
403 and an error code of `M_FORBIDDEN`.