diff --git a/pantalaimon/store.py b/pantalaimon/store.py index 4353a86..7f83ff1 100644 --- a/pantalaimon/store.py +++ b/pantalaimon/store.py @@ -61,7 +61,7 @@ class MediaInfo: } } - if not file_name: + if len(file_name) == 0: content["body"] = url if msgtype: