Apply suggestions from code review

Co-authored-by: Jonathan de Jong <jonathandejong02@gmail.com>
pull/3770/head
Will Hunt 4 years ago committed by GitHub
parent fbbb2d9564
commit 591d3e55c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,7 +72,7 @@ to request all state ahead of time.
## Unstable prefix ## Unstable prefix
The implementation MUST use `/_matrix/client/unstable/uk.half-shot.msc2666/user/mutual_rooms/{user_id}`. The implementation MUST use `/_matrix/client/unstable/uk.half-shot.msc2666/user/mutual_rooms/{user_id}`.
The /versions endpoint MUST include a new key in `unstable_features` with the name `uk.half-shot.msc2666`. The /versions endpoint MUST include a new key in `unstable_features` with the name `uk.half-shot.msc2666.mutual_rooms`.
If the value is false or the key is not present, clients MUST assume the feature is not available. If the value is false or the key is not present, clients MUST assume the feature is not available.
Once the MSC has been merged, clients should use `/_matrix/client/r0/user/mutual_rooms/{user_id}` Once the MSC has been merged, clients should use `/_matrix/client/r0/user/mutual_rooms/{user_id}`
and will no longer need to check for the `unstable_features` flag. and will no longer need to check for the `unstable_features` flag.

Loading…
Cancel
Save