all repos — honk @ 04d9c6af15787fd18142a0bc4924f28546058d81

my fork of honk

reset currettid too
Ted Unangst tedu@tedunangst.com
Thu, 03 Oct 2019 12:37:15 -0400
commit

04d9c6af15787fd18142a0bc4924f28546058d81

parent

bb603ba4649e31b248833c897bba77ea693ed957

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M activity.goactivity.go

@@ -149,11 +149,11 @@ localize = false

goto saveit } var buf bytes.Buffer - limiter := io.LimitReader(resp.Body, 10 * 1024 * 1024) + limiter := io.LimitReader(resp.Body, 10*1024*1024) io.Copy(&buf, limiter) data = buf.Bytes() - if len(data) == 10 * 1024 * 1024 { + if len(data) == 10*1024*1024 { log.Printf("truncation likely") } if strings.HasPrefix(media, "image") {

@@ -827,6 +827,7 @@ convoy = currenttid

} if convoy == "" { convoy = "missing-" + xfiltrate() + currenttid = convoy } xonk.Convoy = convoy savexonk(&xonk)