changeset 12:d45e921a5d2a

Return implemented features
author Ralph Meijer <ralphm@ik.nu>
date Fri, 09 Jul 2004 15:46:10 +0000
parents d599da9179ab
children 226a97dd79ff
files idavoll/pubsub.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/pubsub.py	Fri Jul 09 15:45:35 2004 +0000
+++ b/idavoll/pubsub.py	Fri Jul 09 15:46:10 2004 +0000
@@ -51,6 +51,14 @@
 			})
 		return results
 
+	def getFeatures(self, node):
+		return [
+			"http://jabber.org/protocol/pubsub#outcast-affil",
+			"http://jabber.org/protocol/pubsub#publisher-affil",
+			# We do not really store items yet
+			# "http://jabber.org/protocol/pubsub#persistent-items",
+			]
+
 	def error(self, failure, iq):
 		r = failure.trap(*error_map.keys())