Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0363.py @ 3223:163014f09bf4
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.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 22 Mar 2020 14:04:16 +0100 |
parents | 2ba602aef90e |
children | 9057713ab124 |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0363.py Sun Mar 22 14:01:47 2020 +0100 +++ b/sat/plugins/plugin_xep_0363.py Sun Mar 22 14:04:16 2020 +0100 @@ -205,7 +205,7 @@ 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