mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
fix message history media.
This commit is contained in:
parent
08dea6dcf1
commit
08567ec240
@ -867,6 +867,7 @@ func (bot *CQBot) CQGetGroupMessageHistory(groupId int64, seq int64) MSG {
|
||||
var ms []MSG
|
||||
for _, m := range msg {
|
||||
id := m.Id
|
||||
bot.checkMedia(m.Elements)
|
||||
if bot.db != nil {
|
||||
id = bot.InsertGroupMessage(m)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user