quick_frontend (blog): correction for the previous patch:

- "comments_node" and "comments_service" are not needed when "comments" is already here
    - to set "allow_comments" to True when updating a main item was enough
This commit is contained in:
souliane 2016-02-22 13:44:14 +01:00
commit 2a05b19bab

View file

@ -249,7 +249,7 @@ class Entry(EntriesManager):
# keys to keep other than content*, title* and tag*
# 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')
keys_to_keep = ('id', 'comments', 'author', 'author_jid', 'published')
mb_data = {}
for key in keys_to_keep: