Skip to content

Commit 477f303

Browse files
committed
chore: fix broken link comment
1 parent 88a58ca commit 477f303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export class Util {
378378
};
379379
}
380380

381-
// Taken from https://github.com/matrix-org/matrix-appservice-bridge/blob/master/lib/models/users/matrix.js
381+
// Taken from https://github.com/matrix-org/matrix-appservice-bridge/blob/master/src/models/users/matrix.ts
382382
public static EscapeStringForUserId(localpart: string) {
383383
// NOTE: Currently Matrix accepts / in the userId, although going forward it will be removed.
384384
const badChars = new Set(localpart.replace(/([a-z]|[0-9]|-|\.|=|_)+/g, ""));

0 commit comments

Comments
 (0)