tidy
This commit is contained in:
parent
d0c716d61c
commit
1b99c11b11
1 changed files with 1 additions and 2 deletions
|
@ -333,8 +333,7 @@ export function tryTransformPermalinkToLocalHref(permalink: string): string {
|
|||
const eventIdPart = permalinkParts.eventId ? `/${permalinkParts.eventId}` : '';
|
||||
permalink = `#/room/${permalinkParts.roomIdOrAlias}${eventIdPart}`;
|
||||
if (permalinkParts.viaServers.length > 0) {
|
||||
const riotPermalinkConstructor = new SpecPermalinkConstructor();
|
||||
permalink += riotPermalinkConstructor.encodeServerCandidates(permalinkParts.viaServers);
|
||||
permalink += new SpecPermalinkConstructor().encodeServerCandidates(permalinkParts.viaServers);
|
||||
}
|
||||
} else if (permalinkParts.groupId) {
|
||||
permalink = `#/group/${permalinkParts.groupId}`;
|
||||
|
|
Loading…
Reference in a new issue