From c811da6f7d11354e96e8c8929829e253a8a8df84 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 16 Apr 2021 16:36:56 +0300 Subject: [PATCH] Cleanup empty group portals even if user didn't leave WhatsApp side --- portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal.go b/portal.go index 36b97e1..8855dad 100644 --- a/portal.go +++ b/portal.go @@ -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) {