diff --git a/models/t_txt.go b/models/t_txt.go index 077fc4630..6911838c3 100644 --- a/models/t_txt.go +++ b/models/t_txt.go @@ -60,7 +60,7 @@ func splitChunks(buf string, lim int) []string { chunks = append(chunks, chunk) } if len(buf) > 0 { - chunks = append(chunks, buf[:len(buf)]) + chunks = append(chunks, buf[:]) } return chunks }