You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Don't include via when sharing room alias
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
@@ -149,7 +149,7 @@ export class RoomPermalinkCreator {
|
|||||||
// Prefer to use canonical alias for permalink if possible
|
// Prefer to use canonical alias for permalink if possible
|
||||||
const alias = this.room.getCanonicalAlias();
|
const alias = this.room.getCanonicalAlias();
|
||||||
if (alias) {
|
if (alias) {
|
||||||
return getPermalinkConstructor().forRoom(alias, this._serverCandidates);
|
return getPermalinkConstructor().forRoom(alias);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return getPermalinkConstructor().forRoom(this.roomId, this._serverCandidates);
|
return getPermalinkConstructor().forRoom(this.roomId, this._serverCandidates);
|
||||||
|
|||||||
Reference in New Issue
Block a user