diff options
author | Lance Stout <lancestout@gmail.com> | 2013-10-09 11:28:09 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-10-09 11:28:09 -0700 |
commit | fb5d20c4f8993bf35c8e8653fec8d9795e8e6f05 (patch) | |
tree | 7861bbe84ba2c8ee9fcb261d247f25e497e98e4f | |
parent | 65e3122f52cbc5e4c908d9527b1604cdf9ed6729 (diff) | |
download | slixmpp-fb5d20c4f8993bf35c8e8653fec8d9795e8e6f05.tar.gz slixmpp-fb5d20c4f8993bf35c8e8653fec8d9795e8e6f05.tar.bz2 slixmpp-fb5d20c4f8993bf35c8e8653fec8d9795e8e6f05.tar.xz slixmpp-fb5d20c4f8993bf35c8e8653fec8d9795e8e6f05.zip |
Ensure PEP updates default to item if of 'current'
-rw-r--r-- | sleekxmpp/plugins/xep_0163.py | 2 |
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, |