primitivus: fixes joining a MUC room

This commit is contained in:
souliane 2015-11-24 14:43:49 +01:00
commit b68d6ec6e9

View file

@ -731,7 +731,7 @@ class PrimitivusApp(QuickApp, InputHistory):
def onJoinRoom(self, button, edit):
self.removePopUp()
room_jid = jid.JID(edit.get_edit_text())
self.bridge.joinMUC(room_jid, self.profiles[self.current_profile].whoami.node, {}, self.current_profile, callback=lambda dummy: None, errback=self._notifyFailure)
self.bridge.joinMUC(room_jid, self.profiles[self.current_profile].whoami.node, {}, self.current_profile, callback=lambda dummy: None, errback=self.dialogFailure)
#MENU EVENTS#
def onConnectRequest(self, menu):