plugin XEP-0060: added sendItem and psItemSend bridge method as a way to send directly raw XML for an item + use client instead of profile_key in publish + renamed psItemGet to psItemsGet
This commit is contained in:
parent
71d61f372f
commit
e22336c6f2
1 changed files with 41 additions and 8 deletions
|
|
@ -579,7 +579,7 @@ class XEP_0277(object):
|
|||
except error.StanzaError:
|
||||
log.warning(u"Can't create comments node for item {}".format(item_id))
|
||||
item = yield self.data2entry(data, item_id, client.profile)
|
||||
ret = yield self._p.publish(service, node, [item], profile_key=client.profile)
|
||||
ret = yield self._p.publish(client, service, node, [item])
|
||||
defer.returnValue(ret)
|
||||
|
||||
## retract ##
|
||||
|
|
|
|||
Loading…
Reference in a new issue