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 {