This commit is contained in:
Andrea Spacca 2021-01-07 17:54:46 +01:00
parent 8fc906a9e6
commit 83d1e12870

View File

@ -61,7 +61,7 @@ class MediaInfo:
} }
} }
if not file_name: if len(file_name) == 0:
content["body"] = url content["body"] = url
if msgtype: if msgtype: