comparison libervia_server/__init__.py @ 391:c86d7a8d2c1e

browser_side: added a dialog in Settings/Account to update/delete the XMPP account
author souliane <souliane@mailoo.org>
date Mon, 03 Mar 2014 15:44:54 +0100
parents 2d782349b88a
children ee61b0765d6c
comparison
equal deleted inserted replaced
390:76583fab7ea0 391:c86d7a8d2c1e
451 """Get VCard for entiry 451 """Get VCard for entiry
452 @param jid: jid of contact from who we want data 452 @param jid: jid of contact from who we want data
453 @return: id to retrieve the profile""" 453 @return: id to retrieve the profile"""
454 profile = ISATSession(self.session).profile 454 profile = ISATSession(self.session).profile
455 return self.sat_host.bridge.getCard(jid, profile) 455 return self.sat_host.bridge.getCard(jid, profile)
456
457 def jsonrpc_getAccountDialogUI(self):
458 """Get the dialog for managing user account
459 @return: XML string of the XMLUI"""
460 profile = ISATSession(self.session).profile
461 return self.sat_host.bridge.getAccountDialogUI(profile)
456 462
457 def jsonrpc_getParamsUI(self): 463 def jsonrpc_getParamsUI(self):
458 """Return the parameters XML for profile""" 464 """Return the parameters XML for profile"""
459 profile = ISATSession(self.session).profile 465 profile = ISATSession(self.session).profile
460 d = self.asyncBridgeCall("getParams", Const.SECURITY_LIMIT, Const.APP_NAME, profile) 466 d = self.asyncBridgeCall("getParams", Const.SECURITY_LIMIT, Const.APP_NAME, profile)