1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
(cherry picked from commit e0a0caa3cc7446ef1705a0dbcc49a4155171e27b)
This commit is contained in:
wfjsw 2020-08-24 13:57:17 +08:00
parent 8a0fd431a2
commit e08e20deea

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)
} }
} }