changeset 2117:627cc6120c0e

plugin XEP-0277: fixed mbSetAccess double registration
author Goffi <goffi@goffi.org>
date Sun, 15 Jan 2017 16:00:40 +0100
parents 766dbbec56f2
children 442423faf220
files src/plugins/plugin_xep_0277.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py	Sun Jan 15 16:00:40 2017 +0100
+++ b/src/plugins/plugin_xep_0277.py	Sun Jan 15 16:00:40 2017 +0100
@@ -87,9 +87,6 @@
         host.bridge.addMethod("mbSetAccess", ".plugin", in_sign='ss', out_sign='',
                               method=self.mbSetAccess,
                               async=True)
-        host.bridge.addMethod("mbSetAccess", ".plugin", in_sign='ss', out_sign='',
-                              method=self.mbSetAccess,
-                              async=True)
         host.bridge.addMethod("mbSubscribeToMany", ".plugin", in_sign='sass', out_sign='s',
                               method=self._mbSubscribeToMany)
         host.bridge.addMethod("mbGetFromManyRTResult", ".plugin", in_sign='ss', out_sign='(ua(sssaa{ss}a{ss}))',