Merge pull request 'hotfix' (#93) from hotfix into main
All checks were successful
BuildImage / build-image (push) Successful in 2m15s
All checks were successful
BuildImage / build-image (push) Successful in 2m15s
Reviewed-on: #93
This commit is contained in:
commit
992f02ee1c
@ -27,7 +27,7 @@ func Plugin() {
|
|||||||
// 通知邀请入群消息到配置用户
|
// 通知邀请入群消息到配置用户
|
||||||
dispatcher.RegisterHandler(func(m *dto.Message) bool {
|
dispatcher.RegisterHandler(func(m *dto.Message) bool {
|
||||||
flag, _ := m.IsInvitationJoinGroup()
|
flag, _ := m.IsInvitationJoinGroup()
|
||||||
return flag
|
return flag && !m.IsGroup()
|
||||||
}, plugins.NotifyInvitationJoinGroup)
|
}, plugins.NotifyInvitationJoinGroup)
|
||||||
// 被移除群聊通知到配置用户
|
// 被移除群聊通知到配置用户
|
||||||
dispatcher.RegisterHandler(func(m *dto.Message) bool {
|
dispatcher.RegisterHandler(func(m *dto.Message) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user