ID will be autogenerated (like from): Done by dispatcher as it wraps transports send, when plugged into NonBlockingClient.

This commit is contained in:
Stephan Erb 2009-01-11 21:00:58 +00:00
parent be6440d010
commit d23aa630ba
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class ConnectionPubSub:
query = xmpp.Iq('set', to=jid)
e = query.addChild('pubsub', namespace=xmpp.NS_PUBSUB)
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)