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
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ export class RoomPermalinkCreator {
|
|||
// Prefer to use canonical alias for permalink if possible
|
||||
const alias = this.room.getCanonicalAlias();
|
||||
if (alias) {
|
||||
return getPermalinkConstructor().forRoom(alias, this._serverCandidates);
|
||||
return getPermalinkConstructor().forRoom(alias);
|
||||
}
|
||||
}
|
||||
return getPermalinkConstructor().forRoom(this.roomId, this._serverCandidates);
|
||||
|
|
Loading…
Reference in a new issue