comparison src/pages/common/blog/page_meta.py @ 996:d821c112e656

pages (chat): implementation of chat page using new dynamic pages, first draft
author Goffi <goffi@goffi.org>
date Wed, 03 Jan 2018 01:11:26 +0100
parents 36e9747520fd
children fe08a5c95b27
comparison
equal deleted inserted replaced
995:f88325b56a6a 996:d821c112e656
51 def appendComments(self, blog_items, identities, profile): 51 def appendComments(self, blog_items, identities, profile):
52 for blog_item in blog_items: 52 for blog_item in blog_items:
53 if identities is not None: 53 if identities is not None:
54 author = blog_item.author_jid 54 author = blog_item.author_jid
55 if author not in identities: 55 if author not in identities:
56 identities[author] = yield self.host.bridge.identityGet(author, profile) 56 identities[author] = yield self.host.bridgeCall(u'identityGet', author, profile)
57 for comment_data in blog_item.comments: 57 for comment_data in blog_item.comments:
58 service = comment_data[u'service'] 58 service = comment_data[u'service']
59 node = comment_data[u'node'] 59 node = comment_data[u'node']
60 try: 60 try:
61 comments_data = yield self.host.bridge.mbGet( 61 comments_data = yield self.host.bridge.mbGet(