consistent newlines

pull/3631/head
Will Hunt 5 years ago
parent a4f5bae714
commit c45370474c

@ -16,6 +16,7 @@ the user is in. Therefore, the homeserver should have a means to provide this in
This proposal aims to implement a simple mechanism to fetch rooms you have in common with another user. This proposal aims to implement a simple mechanism to fetch rooms you have in common with another user.
## Proposal ## Proposal
Homeservers should implement a new endpoint `/user/shared_rooms/{user_id}` which will take Homeservers should implement a new endpoint `/user/shared_rooms/{user_id}` which will take
@ -39,6 +40,7 @@ GET _matrix/client/r0/user/shared_rooms/@bob:example.com
} }
``` ```
## Potential issues ## Potential issues
Homeserver performance and storage may be impacted by this endpoint. While a homeserver already stores Homeserver performance and storage may be impacted by this endpoint. While a homeserver already stores
@ -58,6 +60,7 @@ all rooms. While a client *could* pull all membership for all rooms at the point
it's computationally expensive for both the homeserver and the client, as well as a bandwidth waste for contrained it's computationally expensive for both the homeserver and the client, as well as a bandwidth waste for contrained
clients. clients.
## Security considerations ## Security considerations
The information provided in this endpoint is already accessible to the client if it has a copy of all The information provided in this endpoint is already accessible to the client if it has a copy of all

Loading…
Cancel
Save