Remove outdated comments
This commit is contained in:
parent
e2fb5de595
commit
5f5359ae65
@ -74,9 +74,9 @@ export const LinkKind = createEnum(
|
||||
export function tryFixUrl(fragment) {
|
||||
const attempts = [];
|
||||
const afterHash = fragment.substring(fragment.startsWith("#/") ? 2 : 1);
|
||||
attempts.push('#/@' + afterHash); // #room => #/@room
|
||||
attempts.push('#/#' + afterHash); // #@room => #/@room
|
||||
attempts.push('#/!' + afterHash); // #@room => #/@room
|
||||
attempts.push('#/@' + afterHash);
|
||||
attempts.push('#/#' + afterHash);
|
||||
attempts.push('#/!' + afterHash);
|
||||
|
||||
const validAttempts = [];
|
||||
for (const attempt of [...new Set(attempts)]) {
|
||||
|
Loading…
Reference in New Issue
Block a user