dfs
This commit is contained in:
parent
4f7e142238
commit
b4e87109e3
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue