Mods
This commit is contained in:
1 parent
2b88667061
commit
81ac773168
1 file changed
+3
@@ -247,6 +247,9 @@ async def on_message(ws, message):
|
||||
if (not name) or (not ext):
|
||||
return
|
||||
|
||||
if ext not in [".jpg", ".jpeg", ".png", ".gif", ".webm", ".mp4"]:
|
||||
return
|
||||
|
||||
last_file = f"https://deek.chat/storage/files/{name}"
|
||||
last_file_ext = ext
|
||||
elif data["type"] in ["message", "messageEnd"]:
|
||||
|
||||
Reference in new issue
Block a user