Fix replied image
This commit is contained in:
parent
c071b286af
commit
9f5c8cf527
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue