Skip to content
Snippets Groups Projects
Commit d23aa630 authored by steve-e's avatar steve-e
Browse files

ID will be autogenerated (like from): Done by dispatcher as it wraps...

ID will be autogenerated (like from): Done by dispatcher as it wraps transports send, when plugged into NonBlockingClient.
parent be6440d0
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ class ConnectionPubSub: ...@@ -71,7 +71,7 @@ class ConnectionPubSub:
query = xmpp.Iq('set', to=jid) query = xmpp.Iq('set', to=jid)
e = query.addChild('pubsub', namespace=xmpp.NS_PUBSUB) e = query.addChild('pubsub', namespace=xmpp.NS_PUBSUB)
e = e.addChild('publish', {'node': node}) e = e.addChild('publish', {'node': node})
e = e.addChild('item', {'id': id_}, [item]) # TODO: we should generate id... or we shouldn't? e = e.addChild('item', {'id': id_}, [item])
self.connection.send(query) self.connection.send(query)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment