From f4e4692a94b24f661d67cd4e98ac9b2ca9928c0f Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Sun, 2 Jan 2022 22:54:13 -0500 Subject: Multiple resources handling --- xmpp/component.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp/component.go') diff --git a/xmpp/component.go b/xmpp/component.go index d1d0ddf..109d3d5 100644 --- a/xmpp/component.go +++ b/xmpp/component.go @@ -134,7 +134,7 @@ func Close(component *xmpp.Component) { // close all sessions for _, session := range sessions { - session.Disconnect() + session.Disconnect("", true) } // save sessions -- cgit v1.2.3