summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0163.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0163.py b/sleekxmpp/plugins/xep_0163.py
index 5aa3aef9..2d1a63b7 100644
--- a/sleekxmpp/plugins/xep_0163.py
+++ b/sleekxmpp/plugins/xep_0163.py
@@ -107,6 +107,8 @@ class XEP_0163(BasePlugin):
"""
if node is None:
node = stanza.namespace
+ if id is None:
+ id = 'current'
return self.xmpp['xep_0060'].publish(ifrom, node,
id=id,