some fixes

This commit is contained in:
2026-01-19 16:51:23 +03:00
parent 89796562e2
commit 3e9e529281

View File

@@ -210,7 +210,7 @@ func generate(ctx *laniakea.MsgContext, db *laniakea.DatabaseContext) {
counter := red.RPGetCounter(db, ctx.FromID, waifuId) + 1 counter := red.RPGetCounter(db, ctx.FromID, waifuId) + 1
if counter == 5 { if counter == 5 {
m := ctx.Answer("Запущено сжатие чата.") m := ctx.Answer("Запущено сжатие чата.")
res, err = api.CompressChat(messages) res, err = api.CompressChat(messages[1:])
if err != nil { if err != nil {
ctx.Error(err) ctx.Error(err)
} }