Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Substitute a blank JID for the boundjid in API calls.

  • Loading branch information...
commit 7b80ed0807d16f041b66e5c1c51c533fe6c7e614 1 parent 98b7e8b
@legastero legastero authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 sleekxmpp/
4 sleekxmpp/
@@ -101,8 +101,10 @@ def run(self, ctype, op, jid=None, node=None, ifrom=None, args=None):
if not jid:
jid = self.xmpp.boundjid
- if jid and not isinstance(jid, JID):
+ elif jid and not isinstance(jid, JID):
jid = JID(jid)
+ elif jid == JID(''):
+ jid = self.xmpp.boundjid
if node is None:
node = ''
Please sign in to comment.
Something went wrong with that request. Please try again.