changeset 407:b4edea06ae12

plugin XEP-0045: fix method call
author Goffi <goffi@goffi.org>
date Sat, 08 Oct 2011 19:13:43 +0200
parents b03b38b20c18
children 9393ffbad6dc
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	Sat Oct 08 19:04:28 2011 +0200
+++ b/src/plugins/plugin_xep_0045.py	Sat Oct 08 19:13:43 2011 +0200
@@ -166,7 +166,7 @@
             warning(mess)
             self.host.bridge.newAlert(mess, _("Group chat error"), "ERROR", profile)
             return
-        d = self.join(jid.JID(room_jid), nick, options, profile)
+        d = self.join(room_jid, nick, options, profile)
         d.addErrback(lambda x: warning(_('Error while joining room'))) #TODO: error management + signal in bridge
     
     def getHandler(self, profile):