changeset 596:98a962d0b23c

plugin XEP-0045: fixed mucLeave bridge method
author Goffi <goffi@goffi.org>
date Sat, 26 Jan 2013 00:30:00 +0100
parents 1f160467f5de
children cc09cc8c78fc
files src/plugins/plugin_xep_0045.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)