Mercurial > libervia-web
diff libervia/pages/forums/topics/page_meta.py @ 1243:8aff742d0dd0
pages: updated `identityGet` call, following backend changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Apr 2020 22:56:59 +0200 |
parents | f511f8fbbf8a |
children | 6b7f9c3558cc |
line wrap: on
line diff
--- a/libervia/pages/forums/topics/page_meta.py Sun Apr 19 22:56:15 2020 +0200 +++ b/libervia/pages/forums/topics/page_meta.py Sun Apr 19 22:56:59 2020 +0200 @@ -6,6 +6,7 @@ from sat.core.i18n import _ from sat.core.log import getLogger from sat.tools.common import uri as xmpp_uri +from sat.tools.common import data_format log = getLogger(__name__) @@ -36,9 +37,11 @@ parsed_uri["path"], parsed_uri["node"] ) if author not in identities: - identities[topic["author"]] = yield self.host.bridgeCall( - "identityGet", author, profile + id_raw = yield self.host.bridgeCall( + "identityGet", author, [], True, profile ) + identities[topic["author"]] = data_format.deserialise(id_raw) + template_data["topics"] = topics