mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +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
|
var ms []MSG
|
||||||
for _, m := range msg {
|
for _, m := range msg {
|
||||||
id := m.Id
|
id := m.Id
|
||||||
|
bot.checkMedia(m.Elements)
|
||||||
if bot.db != nil {
|
if bot.db != nil {
|
||||||
id = bot.InsertGroupMessage(m)
|
id = bot.InsertGroupMessage(m)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user