This commit is contained in:
Andrea Spacca 2021-01-07 17:52:50 +01:00
parent e66a3bc2d1
commit 8fc906a9e6

View File

@ -61,6 +61,9 @@ class MediaInfo:
}
}
if not file_name:
content["body"] = url
if msgtype:
content["msgtype"] = msgtype