Cleanup empty group portals even if user didn't leave WhatsApp side

This commit is contained in:
Tulir Asokan 2021-04-16 16:36:56 +03:00
parent d3c0b50d5a
commit c811da6f7d

View file

@ -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) {