# HG changeset patch # User Goffi # Date 1521368761 -3600 # Node ID cbbf2ff2ef3f5bdc54c1d0034e31dec6dd766afa # Parent 65e27899771525f8f27a86819f5ac8a8af416389 component file sharing: changed pubsub identity: pubsub service disco identity has been changed to non standard "virtual" type, to avoid it to be used as main pubsub service by the client. diff -r 65e278997715 -r cbbf2ff2ef3f src/plugins/plugin_comp_file_sharing.py --- a/src/plugins/plugin_comp_file_sharing.py Fri Mar 16 18:43:11 2018 +0100 +++ b/src/plugins/plugin_comp_file_sharing.py Sun Mar 18 11:26:01 2018 +0100 @@ -246,6 +246,9 @@ super(Comments_handler, self).__init__() # PubsubVirtualResource()) self.host = plugin_parent.host self.plugin_parent = plugin_parent + self.discoIdentity = {'category': 'pubsub', + 'type': 'virtual', # FIXME: non standard, here to avoid this service being considered as main pubsub one + 'name': 'files commenting service'} def _getFileId(self, nodeIdentifier): if not nodeIdentifier.startswith(COMMENT_NODE_PREFIX):