From b58bc7bef62489f7b4491718025a92ed9c400cb0 Mon Sep 17 00:00:00 2001 From: aishannon Date: Thu, 12 Mar 2026 17:30:14 +0800 Subject: [PATCH] fix cr --- pkg/channels/qq/qq.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/channels/qq/qq.go b/pkg/channels/qq/qq.go index 79dc81030..596391f0c 100644 --- a/pkg/channels/qq/qq.go +++ b/pkg/channels/qq/qq.go @@ -37,7 +37,7 @@ const ( dedupInterval = 60 * time.Second dedupMaxSize = 10000 // hard cap on dedup map entries typingResend = 8 * time.Second - typingSeconds = 10 + typingSeconds = 20 ) var emojiRegexp = regexp.MustCompile(`<[^<]*?ext="([^"]+)"[^<]*?faceType=(\d+)[^<]*?>|<[^<]*?faceType=(\d+)[^<]*?ext="([^"]+)"[^<]*?>`) @@ -253,6 +253,7 @@ func (c *QQChannel) getReplyExtInfo(ctx context.Context, chatID string) (replyID c.replySeq.Store(0) seq = c.replySeq.Add(1) } + return replyID, seq } @@ -538,8 +539,7 @@ func (c *QQChannel) handleGroupATMessage() event.GroupATMessageEventHandler { c.lastMsgID.Store(data.GroupID, data.ID) metadata := map[string]string{ - "account_id": senderID, - "group_id": data.GroupID, + "group_id": data.GroupID, } sender := bus.SenderInfo{