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:
Goffi 2017-06-27 19:38:20 +02:00
commit e22336c6f2

View file

@ -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 ##