mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-11 20:38:49 -05:00
fix bug
This commit is contained in:
parent
8fc906a9e6
commit
83d1e12870
@ -61,7 +61,7 @@ class MediaInfo:
|
||||
}
|
||||
}
|
||||
|
||||
if not file_name:
|
||||
if len(file_name) == 0:
|
||||
content["body"] = url
|
||||
|
||||
if msgtype:
|
||||
|
Loading…
x
Reference in New Issue
Block a user