From 70b0ff8a5005399a8a6000b12ae03cfc4d4cc0d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Mon, 29 Jul 2024 09:16:01 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E9=82=80=E8=AF=B7?= =?UTF-8?q?=E5=85=A5=E7=BE=A4=E9=80=9A=E7=9F=A5=E4=BC=9A=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E7=BE=A4=E5=86=85=E7=9A=84=E7=BE=A4=E9=82=80=E8=AF=B7=E7=9A=84?= =?UTF-8?q?BUG(=E7=BE=A4=E5=86=85=E7=9A=84=E6=98=AF=E8=A2=AB=E8=BD=AC?= =?UTF-8?q?=E5=8F=91=E8=BF=87=E7=9A=84=EF=BC=8C=E5=B1=9E=E4=BA=8E=E6=97=A0?= =?UTF-8?q?=E6=95=88=E4=BF=A1=E6=81=AF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- initialization/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initialization/plugin.go b/initialization/plugin.go index 3265f667..ec036545 100644 --- a/initialization/plugin.go +++ b/initialization/plugin.go @@ -27,7 +27,7 @@ func Plugin() { // 通知邀请入群消息到配置用户 dispatcher.RegisterHandler(func(m *dto.Message) bool { flag, _ := m.IsInvitationJoinGroup() - return flag + return flag && !m.IsGroup() }, plugins.NotifyInvitationJoinGroup) // 被移除群聊通知到配置用户 dispatcher.RegisterHandler(func(m *dto.Message) bool {