Skip to content

Commit 5c89477

Browse files
Fix Mrs4s#2226 - 修改 coolq/cqcode.go#L54移除判断
1 parent 19906eb commit 5c89477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coolq/cqcode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func replyID(r *message.ReplyElement, source message.Source) int32 {
5151
}
5252
// 私聊时,部分(不确定)的账号会在 ReplyElement 中带有 GroupID 字段。
5353
// 这里需要判断是由于 “直接回复” 功能,GroupID 为触发直接回复的来源那个群。
54-
if source.SourceType == message.SourcePrivate && (r.Sender == source.PrimaryID || r.GroupID == source.PrimaryID) {
54+
if source.SourceType == message.SourcePrivate {
5555
// 私聊似乎腾讯服务器有bug?
5656
seq = int32(uint16(seq))
5757
id = r.Sender

0 commit comments

Comments
 (0)