diff src/plugins/plugin_xep_0277.py @ 2117:627cc6120c0e

plugin XEP-0277: fixed mbSetAccess double registration
author Goffi <goffi@goffi.org>
date Sun, 15 Jan 2017 16:00:40 +0100
parents 1128feb54180
children 33c8c4973743
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}))',