Mercurial > libervia-web
diff src/pages/u/page_meta.py @ 1098:01e95ec9df9e
server, pages: fixed blocking calls to bridge by using bridgeCall instead
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Jun 2018 15:09:19 +0200 |
parents | ff503f23ac37 |
children | cdd389ef97bc |
line wrap: on
line diff
--- a/src/pages/u/page_meta.py Fri Jun 01 15:07:06 2018 +0200 +++ b/src/pages/u/page_meta.py Fri Jun 01 15:09:19 2018 +0200 @@ -22,9 +22,9 @@ data = self.getRData(request) - target_profile = yield self.host.bridge.profileNameGet(prof_requested) + target_profile = yield self.host.bridgeCall("profileNameGet", prof_requested) request.template_data[u'target_profile'] = target_profile - target_jid = yield self.host.bridge.asyncGetParamA('JabberID', 'Connection', 'value', profile_key=target_profile) + target_jid = yield self.host.bridgeCall("asyncGetParamA", 'JabberID', 'Connection', 'value', profile_key=target_profile) target_jid = jid.JID(target_jid) data[u'service'] = target_jid