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.
This commit is contained in:
parent
76f39ca0c4
commit
a1f953f825
1 changed files with 3 additions and 0 deletions
|
|
@ -246,6 +246,9 @@ class Comments_handler(pubsub.PubSubService):
|
|||
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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue