1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00
This commit is contained in:
Mrs4s 2020-07-31 12:39:35 +08:00
parent 0136cb21d9
commit dbb4073480

View File

@ -191,6 +191,7 @@ 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})
} }
} }