diff --git a/frontends/src/quick_frontend/quick_blog.py b/frontends/src/quick_frontend/quick_blog.py index fc03b6aa..df112f92 100644 --- a/frontends/src/quick_frontend/quick_blog.py +++ b/frontends/src/quick_frontend/quick_blog.py @@ -248,7 +248,8 @@ class Entry(EntriesManager): """Send entry according to parent QuickBlog configuration and current level""" # keys to keep other than content*, title* and tag* - keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published') + # FIXME: see how to avoid comments node hijacking (someone could bind his post to another post's comments node) + keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published', 'comments_node', 'comments_service') mb_data = {} for key in keys_to_keep: @@ -269,8 +270,7 @@ class Entry(EntriesManager): raise NotImplementedError if self.level == 0: - if self.new: - mb_data["allow_comments"] = C.BOOL_TRUE + mb_data["allow_comments"] = C.BOOL_TRUE if self.blog.new_message_target == C.GROUP: common.iter2dict('group', self.blog.targets, mb_data)