diff src/plugins/plugin_xep_0329.py @ 2527:a201194fc461

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).
author Goffi <goffi@goffi.org>
date Fri, 16 Mar 2018 17:06:35 +0100
parents 25e16729413b
children 65e278997715
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0329.py	Fri Mar 16 17:03:46 2018 +0100
+++ b/src/plugins/plugin_xep_0329.py	Fri Mar 16 17:06:35 2018 +0100
@@ -75,7 +75,6 @@
         self.type = type_
         self.access = {} if access is None else access
         assert isinstance(self.access, dict)
-        self.persistent = False
         self.parent = None
         if parent is not None:
             assert name