this is dead code actually, can go
This commit is contained in:
parent
ed4960f1c5
commit
db5a2138ea
1 changed files with 0 additions and 4 deletions
|
@ -103,10 +103,6 @@ export class RoomPermaLinkCreator {
|
|||
forEvent(eventId) {
|
||||
const roomId = this._room.roomId;
|
||||
const permalinkBase = `${baseUrl}/#/${roomId}/${eventId}`;
|
||||
|
||||
// If the roomId isn't actually a room ID, don't try to list the servers.
|
||||
// Aliases are already routable, and don't need extra information.
|
||||
if (roomId[0] !== '!') return permalinkBase;
|
||||
return `${permalinkBase}${encodeServerCandidates(this._serverCandidates)}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue