fix text-only messages not working

pull/134/head
Aevann 2023-02-26 14:54:36 +02:00
parent e2aceeac2d
commit 1125d4e0e3
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ def process_image(filename:str, v, resize=0, trim=False, uploader_id:Optional[in
def process_dm_images(v, user, body):
if not request.files.get("file") or g.is_tor or not get_setting("dm_images"):
return ''
return body
files = request.files.getlist('file')[:8]