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:
parent
cdf468a7c1
commit
ddf8cf6ea7
1 changed files with 52 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue