From d23aa630ba7168a5b7b049a324120208c120c0f4 Mon Sep 17 00:00:00 2001
From: Stephan Erb <steve-e@h3c.de>
Date: Sun, 11 Jan 2009 21:00:58 +0000
Subject: [PATCH] ID will be autogenerated (like from): Done by dispatcher as
 it wraps transports send, when plugged into NonBlockingClient.

---
 src/common/pubsub.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/pubsub.py b/src/common/pubsub.py
index bc004a511b..c90723ecdc 100644
--- a/src/common/pubsub.py
+++ b/src/common/pubsub.py
@@ -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)
 
-- 
GitLab