1
0
forked from lxh/go-wxhelper

Merge pull request 'hotfix' (#93) from hotfix into main

Reviewed-on: lxh/go-wxhelper#93
This commit is contained in:
李寻欢 2024-07-29 09:16:53 +08:00
commit 992f02ee1c

View File

@ -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 {