if we didn't convert image, don't save data
Ted Unangst tedu@tedunangst.com
Thu, 04 Jul 2019 18:46:15 -0400
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -175,6 +175,7 @@ img, err := image.Vacuum(&buf, image.Params{MaxWidth: 2048, MaxHeight: 2048})
if err != nil { log.Printf("unable to decode image: %s", err) localize = false + data = []byte{} goto saveit } data = img.Data