Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fixes for sharing room links #6118

Merged
merged 7 commits into from
Jun 8, 2021
Merged

Conversation

aaronraimist
Copy link
Contributor

@aaronraimist aaronraimist commented May 29, 2021

This PR does two things. The first commit stops via parameters from being added to matrix.to URLs when a room alias is shared. As far as I am know these do nothing, they only are used when sharing a room ID.

The second commit makes the "share this room" link in this dialog

use the room alias if it is available. Currently it only uses the room ID.

Possibly addresses element-hq/element-web#17498 depending on what the author means
Fixes element-hq/element-web#17498

Signed-off-by: Aaron Raimist <aaron@raim.ist>
Signed-off-by: Aaron Raimist <aaron@raim.ist>
@aaronraimist
Copy link
Contributor Author

(marking as draft because linter is unhappy, will investigate tomorrow)

Signed-off-by: Aaron Raimist <aaron@raim.ist>
Signed-off-by: Aaron Raimist <aaron@raim.ist>
@aaronraimist aaronraimist marked this pull request as ready for review June 7, 2021 21:55
@aaronraimist aaronraimist requested a review from t3chguy June 7, 2021 21:55
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! :shipit:

@t3chguy t3chguy merged commit 826d565 into matrix-org:develop Jun 8, 2021
@aaronraimist aaronraimist deleted the share-room branch June 8, 2021 18:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Share room" should share bare URL when sharing a Room alias
2 participants