Open gabrc52 opened 1 year ago
Filed upstream issue Element Web # 26002
See https://github.com/matrix-org/matrix-react-sdk/pull/1225/files possibly as an initial place to find where to update the code if you wish to do a PR
(can ctrl+f similar keywords)
function getPermalinkConstructor(): PermalinkConstructor {
const elementPrefix = SdkConfig.get("permalink_prefix");
if (elementPrefix && elementPrefix !== matrixtoBaseUrl) {
return new ElementPermalinkConstructor(elementPrefix);
}
return new MatrixToPermalinkConstructor();
}
on src/utils/permalinks/Permalinks.ts
calls the makeUserPermalink
function which calls getPermalinkConstructor
Might be in MessageComposer.tsx
. The href
there didn't help...
Going to ./src/components/views/rooms/wysiwyg_composer/utils/message.ts
aaaaaaaa
Well permalinkCreator
is passed to message.ts
but it only used to add the reply fallback to the m.relates_to
Mentions should still use matrix.to links