We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6258f8c commit 71fca36Copy full SHA for 71fca36
1 file changed
conversejs/utils.py
@@ -41,6 +41,8 @@ def get_conversejs_context(context, xmpp_login=False):
41
bosh = BOSHClient(xmpp_account.jid, xmpp_account.password,
42
context['CONVERSEJS_BOSH_SERVICE_URL'])
43
jid, sid, rid = bosh.get_credentials()
44
+ bosh.close_connection()
45
+
46
context.update({'jid': jid, 'sid': sid, 'rid': rid})
47
48
return context
0 commit comments