MUC update to follow wokkel's MUC branch update
- bridge methods have been updated (API change) - plugin XEP-0045 has been updated
This commit is contained in:
parent
671b98efa8
commit
b7b7c60e33
1 changed files with 59 additions and 70 deletions
|
|
@ -190,9 +190,6 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
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 @@ class MainWindow(wx.Frame, QuickApp):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue