reset currettid too
Ted Unangst tedu@tedunangst.com
Thu, 03 Oct 2019 12:37:15 -0400
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
activity.go
→
activity.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)