fix: update img pool

This commit is contained in:
源文雨
2024-05-04 18:23:52 +09:00
parent 4c0c06ab1b
commit ad9a74e159
6 changed files with 7 additions and 7 deletions

View File

@@ -172,7 +172,7 @@ func (p *imgpool) push(ctx *zero.Ctx, imgtype string, illust *pixiv.Illust) {
}
}
m.SetFile(f)
_, _ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
_ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
msg = message.Image("file:///" + f)
} else {
msg = message.Image(m.String())