component file sharing: comments handling first draft:

comments use a minimal pubsub service which create virtual nodes for each files. A pubsub request to org.salut-a-toi.file_comments/[FILE_ID] allow to handle comments in classic way.
Permissions are the same as for files (i.e. if an entity can see a file, she can comment it).
This commit is contained in:
Goffi 2018-03-16 17:06:35 +01:00
commit 07fa89be84

View file

@ -629,7 +629,7 @@ class SatXMPPComponent(SatXMPPEntity, component.Component):
if not required:
return
else:
log.error(_(u"Plugin {current_name} if needed for {entry_name}, but it doesn't handle component mode").format(
log.error(_(u"Plugin {current_name} is needed for {entry_name}, but it doesn't handle component mode").format(
current_name = current._info[u'import_name'],
entry_name = self.entry_plugin._info[u'import_name']
))