parent
068fe41258
commit
ed8f2d35ce
|
@ -224,10 +224,12 @@ QtObject:
|
||||||
var image = singletonInstance.utils.formatImagePath(imagePath)
|
var image = singletonInstance.utils.formatImagePath(imagePath)
|
||||||
imagePath = image_resizer(image, 2000, TMPDIR)
|
imagePath = image_resizer(image, 2000, TMPDIR)
|
||||||
|
|
||||||
discard status_chat.sendImages(chatId, images)
|
let response = status_chat.sendImages(chatId, images)
|
||||||
|
|
||||||
for imagePath in images.items:
|
for imagePath in images.items:
|
||||||
removeFile(imagePath)
|
removeFile(imagePath)
|
||||||
|
|
||||||
|
discard self.processMessageUpdateAfterSend(response)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
error "Error sending images", msg = e.msg
|
error "Error sending images", msg = e.msg
|
||||||
result = fmt"Error sending images: {e.msg}"
|
result = fmt"Error sending images: {e.msg}"
|
||||||
|
|
Loading…
Reference in New Issue