plugin blog import: mb_data handle unicode only, so comments_service must be a unicode and not a JID
This commit is contained in:
parent
01f851c9f7
commit
69df5fc49c
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ class BlogImportPlugin(object):
|
|||
allow_comments = C.bool(mb_data.get('allow_comments', C.BOOL_FALSE))
|
||||
if allow_comments:
|
||||
comments_service, comments_node = self._m.getCommentsService(client), self._m.getCommentsNode(item_id)
|
||||
mb_data['comments_service'] = comments_service
|
||||
mb_data['comments_service'] = comments_service.full()
|
||||
mb_data['comments_node'] = comments_node
|
||||
else:
|
||||
if data['comments'][0]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue