# HG changeset patch # User Arnaud Joset # Date 1509713955 -3600 # Node ID a98b3d52c2ff5ae42a82d4b2d4a91ff3b70cfe34 # Parent 6ee61218a33f69718180cfdcf11ff84235473015 added missing #publish-options in disco features diff -r 6ee61218a33f -r a98b3d52c2ff sat_pubsub/backend.py --- 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")