Mercurial > libervia-pubsub
diff idavoll/pubsub.py @ 12:d45e921a5d2a
Return implemented features
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Fri, 09 Jul 2004 15:46:10 +0000 |
parents | 52bd563b7a5d |
children | ce3d0db64da1 |
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())