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

Commit cf2cf66

Browse files
ara4ndbkr
authored andcommitted
fix deep-linking to riot.im/app
1 parent bb6dd36 commit cf2cf66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linkify-matrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ var escapeRegExp = function(string) {
122122
// anyone else really should be using matrix.to.
123123
matrixLinkify.VECTOR_URL_PATTERN = "^(?:https?:\/\/)?(?:"
124124
+ escapeRegExp(window.location.host + window.location.pathname) + "|"
125-
+ "(?:www\\.)?(?:riot|vector)\\.im/(?:beta|staging|develop)/"
125+
+ "(?:www\\.)?(?:riot|vector)\\.im/(?:app|beta|staging|develop)/"
126126
+ ")(#.*)";
127127

128128
matrixLinkify.MATRIXTO_URL_PATTERN = "^(?:https?:\/\/)?(?:www\\.)?matrix\\.to/#/((#|@|!).*)";

0 commit comments

Comments
 (0)