From fb5d20c4f8993bf35c8e8653fec8d9795e8e6f05 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 9 Oct 2013 11:28:09 -0700 Subject: [PATCH] Ensure PEP updates default to item if of 'current' --- sleekxmpp/plugins/xep_0163.py | 2 ++ 1 file changed, 2 insertions(+) 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,