mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Fix linkify imports
VECTOR_URL_PATTERN was 'undefined' inside Permalinks.tryTransformPermalinkToLocalHref()
This commit is contained in:
parent
b81c084cf5
commit
d403ed7513
2 changed files with 2 additions and 2 deletions
|
@ -243,4 +243,4 @@ matrixLinkify.options = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = matrixLinkify;
|
export default matrixLinkify;
|
||||||
|
|
|
@ -20,7 +20,7 @@ import utils from 'matrix-js-sdk/lib/utils';
|
||||||
import SpecPermalinkConstructor, {baseUrl as matrixtoBaseUrl} from "./SpecPermalinkConstructor";
|
import SpecPermalinkConstructor, {baseUrl as matrixtoBaseUrl} from "./SpecPermalinkConstructor";
|
||||||
import PermalinkConstructor, {PermalinkParts} from "./PermalinkConstructor";
|
import PermalinkConstructor, {PermalinkParts} from "./PermalinkConstructor";
|
||||||
import RiotPermalinkConstructor from "./RiotPermalinkConstructor";
|
import RiotPermalinkConstructor from "./RiotPermalinkConstructor";
|
||||||
import * as matrixLinkify from "../../linkify-matrix";
|
import matrixLinkify from "../../linkify-matrix";
|
||||||
|
|
||||||
const SdkConfig = require("../../SdkConfig");
|
const SdkConfig = require("../../SdkConfig");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue