forked from MirrorHub/mautrix-whatsapp
Cleanup empty group portals even if user didn't leave WhatsApp side
This commit is contained in:
parent
d3c0b50d5a
commit
c811da6f7d
1 changed files with 1 additions and 1 deletions
|
@ -2343,8 +2343,8 @@ func (portal *Portal) HandleMatrixLeave(sender *User) {
|
|||
return
|
||||
}
|
||||
portal.log.Infoln("Leave response:", <-resp)
|
||||
portal.CleanupIfEmpty()
|
||||
}
|
||||
portal.CleanupIfEmpty()
|
||||
}
|
||||
|
||||
func (portal *Portal) HandleMatrixKick(sender *User, evt *event.Event) {
|
||||
|
|
Loading…
Reference in a new issue