plugin attach: handle large images resizing:

if `C.MESS_KEY_ATTACHMENTS_RESIZE` flag is set for an attachment, it will be checked, and
if it is a large image, a resized copy will be uploaded.
This commit is contained in:
Goffi 2020-03-22 14:04:16 +01:00
commit ddf8cf6ea7

View file

@ -205,7 +205,7 @@ class XEP_0363(object):
should be closed, but it is needed to send the progressFinished signal
@param slot(Slot): put/get urls
"""
log.info("HTTP upload finished")
log.info(f"HTTP upload finished ({slot.get})")
sat_file.progressFinished({"url": slot.get})
return slot.get