diff idavoll/pubsub.py @ 9:52bd563b7a5d

Add disco support.
author Ralph Meijer <ralphm@ik.nu>
date Thu, 01 Jul 2004 15:48:59 +0000
parents a8cfb31dc50c
children d45e921a5d2a
line wrap: on
line diff
--- a/idavoll/pubsub.py	Thu Jul 01 15:48:06 2004 +0000
+++ b/idavoll/pubsub.py	Thu Jul 01 15:48:59 2004 +0000
@@ -41,6 +41,16 @@
 		xmlstream.addObserver(PUBSUB_SET, self.onPubSub)
 		xmlstream.addObserver(PUBSUB_GET, self.onPubSub)
 
+	def getIdentities(self, node):
+		results = []
+		if not node:
+			results.append({
+				'category': 'pubsub',
+				'type': 'generic',
+				'name': 'Generic Pubsub Service'
+			})
+		return results
+
 	def error(self, failure, iq):
 		r = failure.trap(*error_map.keys())