aboutsummaryrefslogtreecommitdiff
path: root/xmpp/component.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2022-01-03 06:54:13 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2022-01-03 06:54:13 +0300
commitf4e4692a94b24f661d67cd4e98ac9b2ca9928c0f (patch)
treeb9c917fc783b6bdd15fa2781b607b34b3cf51606 /xmpp/component.go
parent462a537021f471579877eceb1dd6c47154d8052d (diff)
Multiple resources handling
Diffstat (limited to 'xmpp/component.go')
-rw-r--r--xmpp/component.go2
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