Skip to content

Ability to join a room using a given server_name#726

Merged
anoadragon453 merged 3 commits into
developfrom
anoa/join_via_server_name
Oct 23, 2019
Merged

Ability to join a room using a given server_name#726
anoadragon453 merged 3 commits into
developfrom
anoa/join_via_server_name

Conversation

@anoadragon453
Copy link
Copy Markdown
Member

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_name query parameter as defined by https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-join-roomidoralias

This adds the ability for the server_name argument to be given to the matrix_join_room and matrix_join_room_synced methods to join with a given server_name.

Copy link
Copy Markdown
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread tests/10apidoc/33room-members.pl Outdated
@anoadragon453 anoadragon453 merged commit ebee916 into develop Oct 23, 2019
@anoadragon453 anoadragon453 deleted the anoa/join_via_server_name branch October 23, 2019 08:42
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants