mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-12 04:41:26 -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
|
content["body"] = url
|
||||||
|
|
||||||
if msgtype:
|
if msgtype:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user