Ability to join a room using a given server_name#726
Merged
Conversation
richvdh
approved these changes
Oct 22, 2019
anoadragon453
added a commit
that referenced
this pull request
Mar 18, 2020
…ase-v1.5.0 * origin/release-v1.5.1: Update test to work with more room versions (#725) Update sytest scripts with correct format_tap.pl location (#727) Buildkite annotations for dendrite (#715) Ability to join a room using a given server_name (#726) Add Perl results.tap parser (#714) Better error when /send fails (#724) Make `send_and_await_event` pass params to `create_event` (#723) Enable testing of log contexts for synapse ensure that server ACLs are enforced (#717) Regression test for sync cache consistency bug (#718) Update a test to give better diagnostics (#719) Fix race in email validation test Update a number of tests to check non-v1 rooms (#716) Improve the log_if_fail diagnostics for public rooms list test (#713) Support validating msisdns with the identity server (#712) Move MTA methods from 12login to 11register (#711) Generalise validate_email_for_user to work for other /requestToken endpoints (#710) Remove reference to CircleCI in Dendrite's sytest script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When working on #721, I found it difficult to upgrade a room (which gives me a room ID), then have a remote user join the room via that room ID. Synapse would complain as it needs to know what server to join the room via.
We can tell Synapse using the
server_namequery parameter as defined by https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-join-roomidoraliasThis adds the ability for the
server_nameargument to be given to thematrix_join_roomandmatrix_join_room_syncedmethods to join with a given server_name.