Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2116:766dbbec56f2 | 2117:627cc6120c0e |
---|---|
81 method=self._mbRetract, | 81 method=self._mbRetract, |
82 async=True) | 82 async=True) |
83 host.bridge.addMethod("mbGet", ".plugin", | 83 host.bridge.addMethod("mbGet", ".plugin", |
84 in_sign='ssiasa{ss}s', out_sign='(aa{ss}a{ss})', | 84 in_sign='ssiasa{ss}s', out_sign='(aa{ss}a{ss})', |
85 method=self._mbGet, | 85 method=self._mbGet, |
86 async=True) | |
87 host.bridge.addMethod("mbSetAccess", ".plugin", in_sign='ss', out_sign='', | |
88 method=self.mbSetAccess, | |
89 async=True) | 86 async=True) |
90 host.bridge.addMethod("mbSetAccess", ".plugin", in_sign='ss', out_sign='', | 87 host.bridge.addMethod("mbSetAccess", ".plugin", in_sign='ss', out_sign='', |
91 method=self.mbSetAccess, | 88 method=self.mbSetAccess, |
92 async=True) | 89 async=True) |
93 host.bridge.addMethod("mbSubscribeToMany", ".plugin", in_sign='sass', out_sign='s', | 90 host.bridge.addMethod("mbSubscribeToMany", ".plugin", in_sign='sass', out_sign='s', |