Fix default media_mime for media events

This commit is contained in:
miruka
2020-05-21 01:05:31 -04:00
parent 96e61f15ce
commit b30ce33494
2 changed files with 1 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ class NioCallbacks:
media_height = info.get("h") or 0,
media_duration = info.get("duration") or 0,
media_size = info.get("size") or 0,
media_mime = info.get("mimetype") or 0,
media_mime = info.get("mimetype") or "",
media_crypt_dict = media_crypt_dict,
thumbnail_url =