master
Aevann1 2022-04-24 23:09:21 +02:00
parent 89b49f9337
commit 4a782549c8
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ def messagereply(v):
body_html = sanitize(message)
if v.admin_level > 1 and request.files.get("file") and request.headers.get("cf-ipcountry") != "T1":
if parent.sentto == 2 and request.files.get("file") and request.headers.get("cf-ipcountry") != "T1":
file=request.files["file"]
if file.content_type.startswith('image/'):
name = f'/images/{time.time()}'.replace('.','') + '.webp'