diff --git a/src/matrix-to.js b/src/matrix-to.js index ded691c27d..5f162a9af6 100644 --- a/src/matrix-to.js +++ b/src/matrix-to.js @@ -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)}`; }