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:
commit
7c0a46cbdf
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user