Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
remove registerCustomProtocol
Browse files Browse the repository at this point in the history
This is only usable for matrix: uri's in linkifyjs v4
currently `matrix:u/..` would not be caught. only: `matrix://`
  • Loading branch information
toger5 committed Jan 18, 2022
1 parent 5f2bc30 commit f6deb3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/linkify-matrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ registerPlugin(Type.UserId, ({ scanner, parser, utils }) => {
});
});

registerCustomProtocol("matrix");

export const linkify = linkifyjs;
export const _linkifyElement = linkifyElement;
export const _linkifyString = linkifyString;

0 comments on commit f6deb3e

Please sign in to comment.