mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix Mrs4s/go-cqhttp#188.
This commit is contained in:
parent
d3b0f5f9e8
commit
3887056df8
@ -229,7 +229,6 @@ func (g *GroupInfo) MuteAll(mute bool) {
|
|||||||
func (g *GroupInfo) Quit() {
|
func (g *GroupInfo) Quit() {
|
||||||
if g.SelfPermission() != Owner {
|
if g.SelfPermission() != Owner {
|
||||||
g.client.quitGroup(g.Code)
|
g.client.quitGroup(g.Code)
|
||||||
g.client.dispatchLeaveGroupEvent(&GroupLeaveEvent{Group: g})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user