Mercurial > libervia-backend
diff src/plugins/plugin_xep_0045.py @ 596:98a962d0b23c
plugin XEP-0045: fixed mucLeave bridge method
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Jan 2013 00:30:00 +0100 |
parents | e629371a28d3 |
children | 8d8a2ad163e2 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py Fri Jan 18 17:55:35 2013 +0100 +++ b/src/plugins/plugin_xep_0045.py Sat Jan 26 00:30:00 2013 +0100 @@ -59,7 +59,7 @@ self.clients = {} host.bridge.addMethod("joinMUC", ".plugin", in_sign='ssa{ss}s', out_sign='', method=self._join) host.bridge.addMethod("mucNick", ".plugin", in_sign='sss', out_sign='', method=self.mucNick) - host.bridge.addMethod("mucLeave", ".plugin", in_sign='ss', out_sign='', method=self.leave) + host.bridge.addMethod("mucLeave", ".plugin", in_sign='ss', out_sign='', method=self.mucLeave, async = True) host.bridge.addMethod("getRoomsJoined", ".plugin", in_sign='s', out_sign='a(sass)', method=self.getRoomsJoined) host.bridge.addMethod("getRoomsSubjects", ".plugin", in_sign='s', out_sign='a(ss)', method=self.getRoomsSubjects) host.bridge.addMethod("getUniqueRoomName", ".plugin", in_sign='s', out_sign='s', method=self.getUniqueName)