Fix linkify imports

VECTOR_URL_PATTERN was 'undefined' inside Permalinks.tryTransformPermalinkToLocalHref()
pull/21833/head
N-Pex 2019-11-06 10:41:14 +01:00
parent b81c084cf5
commit d403ed7513
2 changed files with 2 additions and 2 deletions

View File

@ -243,4 +243,4 @@ matrixLinkify.options = {
},
};
module.exports = matrixLinkify;
export default matrixLinkify;

View File

@ -20,7 +20,7 @@ import utils from 'matrix-js-sdk/lib/utils';
import SpecPermalinkConstructor, {baseUrl as matrixtoBaseUrl} from "./SpecPermalinkConstructor";
import PermalinkConstructor, {PermalinkParts} from "./PermalinkConstructor";
import RiotPermalinkConstructor from "./RiotPermalinkConstructor";
import * as matrixLinkify from "../../linkify-matrix";
import matrixLinkify from "../../linkify-matrix";
const SdkConfig = require("../../SdkConfig");