all repos — honk @ ef338d73e2266849afc566b398a892e1c4a3f980

my fork of honk

if we didn't convert image, don't save data
Ted Unangst tedu@tedunangst.com
Thu, 04 Jul 2019 18:46:15 -0400
commit

ef338d73e2266849afc566b398a892e1c4a3f980

parent

5e11ab87350e34a9c177b0d884bdebd8f9f7d9a9

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.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