diff frontends/src/wix/main_window.py @ 405:10b4f577d0c0

MUC update to follow wokkel's MUC branch update - bridge methods have been updated (API change) - plugin XEP-0045 has been updated
author Goffi <goffi@goffi.org>
date Sat, 08 Oct 2011 18:43:17 +0200
parents c34fd9d6242e
children cf005701624b
line wrap: on
line diff
--- a/frontends/src/wix/main_window.py	Sat Oct 08 11:19:25 2011 +0200
+++ b/frontends/src/wix/main_window.py	Sat Oct 08 18:43:17 2011 +0200
@@ -190,9 +190,6 @@
     def newMessage(self, from_jid, msg, type, to_jid, profile):
         QuickApp.newMessage(self, from_jid, msg, type, to_jid, profile)
 
-    def roomJoined(self, room_id, room_service, room_nicks, user_nick, profile):
-        super(MainWindow, self).roomJoined(room_id, room_service, room_nicks, user_nick, profile)
-
     def showAlert(self, message):
         # TODO: place this in a separate class
         popup=wx.PopupWindow(self)
@@ -464,7 +461,7 @@
         if dlg.ShowModal() == wx.ID_OK:
             room_jid=JID(dlg.GetValue())
             if room_jid.is_valid():
-                self.bridge.joinMUC(room_jid.domain, room_jid.node, self.profiles[self.profile]['whoami'].node, self.profile)
+                self.bridge.joinMUC(room_jid, self.profiles[self.profile]['whoami'].node, {}, self.profile)
             else:
                 error (_("'%s' is an invalid JID !"), room_jid)