Compare commits

..

No commits in common. "992f02ee1c8d995d0c8d21d1e7fdc6450788bd6f" and "fb9a51720ebd62524c01265184842a24e7eb78d6" have entirely different histories.

View File

@ -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 && !m.IsGroup() return flag
}, plugins.NotifyInvitationJoinGroup) }, plugins.NotifyInvitationJoinGroup)
// 被移除群聊通知到配置用户 // 被移除群聊通知到配置用户
dispatcher.RegisterHandler(func(m *dto.Message) bool { dispatcher.RegisterHandler(func(m *dto.Message) bool {