diff src/plugins/plugin_misc_account.py @ 2177:09cfec4d8d19

plugin XEP-0077: added inBandAccountNew, inBandUnregister and inBandPasswordChange bridge methods
author Goffi <goffi@goffi.org>
date Thu, 09 Mar 2017 23:07:38 +0100
parents 61128d260eef
children 968b0d13bcc7
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py	Thu Mar 09 00:06:13 2017 +0100
+++ b/src/plugins/plugin_misc_account.py	Thu Mar 09 23:07:38 2017 +0100
@@ -482,7 +482,7 @@
             error_ui.addText(D_("Your XMPP account could not be deleted: %s") % failure.getErrorMessage())
             return defer.succeed({'xmlui': error_ui.toXml()})
 
-        d = self.host.plugins['XEP-0077'].removeRegistration(client, jid.JID(client.jid.host))
+        d = self.host.plugins['XEP-0077'].unregister(client, jid.JID(client.jid.host))
         d.addCallbacks(userDeleted, errback)
         return d