Ensure PEP updates default to item if of 'current'
This commit is contained in:
parent
65e3122f52
commit
fb5d20c4f8
@ -107,6 +107,8 @@ class XEP_0163(BasePlugin):
|
|||||||
"""
|
"""
|
||||||
if node is None:
|
if node is None:
|
||||||
node = stanza.namespace
|
node = stanza.namespace
|
||||||
|
if id is None:
|
||||||
|
id = 'current'
|
||||||
|
|
||||||
return self.xmpp['xep_0060'].publish(ifrom, node,
|
return self.xmpp['xep_0060'].publish(ifrom, node,
|
||||||
id=id,
|
id=id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user