Ensure PEP updates default to item if of 'current'
This commit is contained in:
parent
65e3122f52
commit
fb5d20c4f8
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue