mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-08 22:28:01 -05:00
fix bug
This commit is contained in:
parent
e66a3bc2d1
commit
8fc906a9e6
@ -61,6 +61,9 @@ class MediaInfo:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if not file_name:
|
||||||
|
content["body"] = url
|
||||||
|
|
||||||
if msgtype:
|
if msgtype:
|
||||||
content["msgtype"] = msgtype
|
content["msgtype"] = msgtype
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user