mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 12:03:50 +08:00
Merge pull request #1164 from Sora233/fix/private_reply
fix private reply message
This commit is contained in:
commit
c180246720
@ -449,7 +449,7 @@ func (bot *CQBot) InsertPrivateMessage(m *message.PrivateMessage) int32 {
|
||||
msg.QuotedInfo = &db.QuotedInfo{
|
||||
PrevID: encodeMessageID(reply.Sender, reply.ReplySeq),
|
||||
PrevGlobalID: db.ToGlobalID(reply.Sender, reply.ReplySeq),
|
||||
QuotedContent: ToMessageContent(m.Elements),
|
||||
QuotedContent: ToMessageContent(reply.Elements),
|
||||
}
|
||||
}
|
||||
if err := db.InsertPrivateMessage(msg); err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user