MSC2666: Get rooms in common with another user (#2666)
* MSC 2664: Get rooms in common with another user
* correct MSC number
* Try to clarify Proposal, update response format
* Update MSC number in prefix
* Wording tidyup
* more tidyup
* Clarify empty responses
* uhoreg fixes my spelling
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
* add same user case
* Update to use /uk.half-shot.msc2666/
* Fixes
* remove referneces to user_id
* another reference to the auth user id
* consistent newlines
* Add errcode
* Update proposals/2666-get-rooms-in-common.md
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* typo fix and shared_rooms -> mutual_rooms (#3631)
* Apply suggestions from code review
Co-authored-by: Jonathan de Jong <jonathandejong02@gmail.com>
* @MSC2666: Add "may return 400" qualifier (#3770)
Resolves [this comment](https://github.com/matrix-org/matrix-spec-proposals/pull/2666#discussion_r830500133)
Rationale for `M_UNKNOWN`: There's not a "semantically more close" variant of that error, and i'm hesitant to add a new error.
cc @Half-Shot
* Reject r0, embrace v1
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Remove M_UNKNOWN response (#3822)
* Update an old link to the spec; fix endpoint text
* provide a link to lazy-loading of room members spec
* Apply review feedback (#3913)
- convert to using query parameters
- add pagination
- add rate-limit-ness
- add forward-compatibility considerations
- alter unstable prefix and unstable_features
- misc reflow of the markdown
* Add invalid batch_token error code (#4017)
* Update proposals/2666-get-rooms-in-common.md
Co-authored-by: Jonathan de Jong <jonathandejong02@gmail.com>
* restrict the allowed characters for the next_batch_token
Co-authored-by: Jonathan de Jong <jonathandejong02@gmail.com>
* apply review feedback (#4035)
* Update path
* Link to opaque identifier spec for next_batch
* Revert unstable prefix path
* Define guest access
* Clarify handling invalid and non-existent user IDs
* Apply suggestions from code review
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Add stable feature flag
* Allow omitting rooms from response when using batch tokens
* Tighten up wording of the MSC
Make the language less fluffy and easier to read.
* remove space in 'MSC2666'
* Apply suggestions from code review
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
* Add count field
---------
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Jonathan de Jong <jonathandejong02@gmail.com>
Co-authored-by: Andrew Morgan <andrewm@element.io>
Co-authored-by: Jonathan de Jong <jonathan@automatia.nl>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
Co-authored-by: David Baker <dbkr@users.noreply.github.com>