Fix replied image

This commit is contained in:
Aslan 2026-01-20 20:05:53 -05:00
parent c071b286af
commit 9f5c8cf527

View file

@ -129,9 +129,9 @@ const registerModules = (client: MatrixClient) => {
} }
if (repliedContent.msgtype === MsgType.Image) { if (repliedContent.msgtype === MsgType.Image) {
if (typeof content.url === "string") { if (typeof repliedContent.url === "string") {
const httpUrl = client.mxcUrlToHttp( const httpUrl = client.mxcUrlToHttp(
content.url, repliedContent.url,
undefined, undefined,
undefined, undefined,
undefined, undefined,