diff --git a/client/entities.go b/client/entities.go index 6597e943..bdce0603 100644 --- a/client/entities.go +++ b/client/entities.go @@ -191,6 +191,7 @@ func (g *GroupInfo) MuteAll(mute bool) { func (g *GroupInfo) Quit() { if g.SelfPermission() != Owner { g.client.quitGroup(g.Code) + g.client.dispatchLeaveGroupEvent(&GroupLeaveEvent{Group: g}) } }