From 9f5c8cf527d77aea639c078a5230197c9327171801194a4268dc1661bfb5c332 Mon Sep 17 00:00:00 2001 From: aslan Date: Tue, 20 Jan 2026 20:05:53 -0500 Subject: [PATCH] Fix replied image --- src/modules/module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module.ts b/src/modules/module.ts index c67f2cb..d5760a4 100644 --- a/src/modules/module.ts +++ b/src/modules/module.ts @@ -129,9 +129,9 @@ const registerModules = (client: MatrixClient) => { } if (repliedContent.msgtype === MsgType.Image) { - if (typeof content.url === "string") { + if (typeof repliedContent.url === "string") { const httpUrl = client.mxcUrlToHttp( - content.url, + repliedContent.url, undefined, undefined, undefined,