pick up ! matrix.to URLs

This commit is contained in:
Matthew Hodgson 2016-08-28 02:12:18 +01:00
parent de82ac3bc0
commit 18436e1257

View file

@ -110,7 +110,7 @@ matrixLinkify.VECTOR_URL_PATTERN = "^(?:https?:\/\/)?(?:"
+ "(?:www\\.)?vector\\.im/(?:beta|staging|develop)/" + "(?:www\\.)?vector\\.im/(?:beta|staging|develop)/"
+ ")(#.*)"; + ")(#.*)";
matrixLinkify.MATRIXTO_URL_PATTERN = "^(?:https?:\/\/)?(?:www\\.)?matrix\\.to/#/((#|@).*)"; matrixLinkify.MATRIXTO_URL_PATTERN = "^(?:https?:\/\/)?(?:www\\.)?matrix\\.to/#/((#|@|!).*)";
matrixLinkify.options = { matrixLinkify.options = {
events: function (href, type) { events: function (href, type) {