changeset 363:a98b3d52c2ff

added missing #publish-options in disco features
author Arnaud Joset <info@agayon.be>
date Fri, 03 Nov 2017 13:59:15 +0100
parents 6ee61218a33f
children 8bd8be6815ab
files sat_pubsub/backend.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat_pubsub/backend.py	Fri Nov 03 13:57:28 2017 +0100
+++ b/sat_pubsub/backend.py	Fri Nov 03 13:59:15 2017 +0100
@@ -164,6 +164,8 @@
         self.storage = storage
         self._callbackList = []
 
+    def supportsPublishOptions(self):
+        return True
     def supportsPublisherAffiliation(self):
         return True
 
@@ -1242,6 +1244,9 @@
         if self.backend.supportsAutoCreate():
             self.features.append("auto-create")
 
+        if self.backend.supportsPublishOptions():
+            self.features.append("publish-options")
+
         if self.backend.supportsInstantNodes():
             self.features.append("instant-nodes")