Compare commits
3 Commits
fb9a51720e
...
992f02ee1c
Author | SHA1 | Date | |
---|---|---|---|
992f02ee1c | |||
7b7f9dcdb4 | |||
70b0ff8a50 |
@ -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