1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +08:00

Merge pull request #68 from wfjsw/patches/fix-group-kick-blacklist-option

fix
This commit is contained in:
Mrs4s 2020-11-20 13:59:29 +08:00 committed by GitHub
commit 7c0a46cbdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,9 +353,9 @@ func (m *GroupMemberInfo) EditSpecialTitle(title string) {
} }
} }
func (m *GroupMemberInfo) Kick(msg string) { func (m *GroupMemberInfo) Kick(msg string, block bool) {
if m.Uin != m.Group.client.Uin && m.Manageable() { if m.Uin != m.Group.client.Uin && m.Manageable() {
m.Group.client.kickGroupMember(m.Group.Code, m.Uin, msg) m.Group.client.kickGroupMember(m.Group.Code, m.Uin, msg, block)
} }
} }