diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-01-03 06:54:13 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-01-03 06:54:13 +0300 |
commit | f4e4692a94b24f661d67cd4e98ac9b2ca9928c0f (patch) | |
tree | b9c917fc783b6bdd15fa2781b607b34b3cf51606 /xmpp/component.go | |
parent | 462a537021f471579877eceb1dd6c47154d8052d (diff) |
Multiple resources handling
Diffstat (limited to 'xmpp/component.go')
-rw-r--r-- | xmpp/component.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |