mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-23 23:41:33 +02:00
Don't include via when sharing room alias
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
890ac14090
commit
53ebf3b8e3
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user