# HG changeset patch # User Ralph Meijer # Date 1089387970 0 # Node ID d45e921a5d2a3742ae6bb90a4806893f74e25679 # Parent d599da9179abe2e6fad997e070a868f2704502e3 Return implemented features diff -r d599da9179ab -r d45e921a5d2a idavoll/pubsub.py --- 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())