changeset 9:52bd563b7a5d

Add disco support.
author Ralph Meijer <ralphm@ik.nu>
date Thu, 01 Jul 2004 15:48:59 +0000
parents 688992a789e4
children 36f0ce354ce8
files idavoll/pubsub.py
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
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())