mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
update.
This commit is contained in:
parent
0136cb21d9
commit
dbb4073480
@ -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})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user