diff 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
line wrap: on
line diff
--- a/libervia_server/__init__.py	Mon Mar 03 15:44:13 2014 +0100
+++ b/libervia_server/__init__.py	Mon Mar 03 15:44:54 2014 +0100
@@ -454,6 +454,12 @@
         profile = ISATSession(self.session).profile
         return self.sat_host.bridge.getCard(jid, profile)
 
+    def jsonrpc_getAccountDialogUI(self):
+        """Get the dialog for managing user account
+        @return: XML string of the XMLUI"""
+        profile = ISATSession(self.session).profile
+        return self.sat_host.bridge.getAccountDialogUI(profile)
+
     def jsonrpc_getParamsUI(self):
         """Return the parameters XML for profile"""
         profile = ISATSession(self.session).profile