tentative chopped QR issue fix

This commit is contained in:
eta 2020-07-10 20:42:12 +01:00
parent 2e4e375196
commit c9f27dc69a

View file

@ -183,6 +183,7 @@ MEDIA-TYPE is one of (:image :video :audio :document)."
:keep t) ; Needed because async
(format *debug-io* "~&using path ~A~%" path)
(cl-qrencode:encode-png-stream text stream)
(force-output stream) ; otherwise the QR codes get chopped off?
(catcher
(let ((content-length (file-length stream)))
(attach