changeset 698:f1271f769ffd

browser_side: don't open a new tab when inviting people to a MUC we already joined
author souliane <souliane@mailoo.org>
date Mon, 20 Apr 2015 09:52:22 +0200
parents b395d1309936
children be55a782a976
files src/browser/sat_browser/menu.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/menu.py	Mon Apr 20 09:14:03 2015 +0200
+++ b/src/browser/sat_browser/menu.py	Mon Apr 20 09:52:22 2015 +0200
@@ -92,7 +92,7 @@
                     room_jid_s = unicode(room_jid) if room_jid else ''
                     self.host.bridge.joinMUC(room_jid_s, nick, profile=C.PROF_KEY_NONE, callback=lambda room_jid: invite(room_jid, contacts), errback=self.host.showFailureRoomInvalid)
                 else:
-                    self.host.displayWidget(chat.Chat, room_jid, type_="group", new_tab=room_jid)
+                    self.host.displayWidget(chat.Chat, room_jid, type_="group")
                     invite(room_jid, contacts)
 
         dialog.RoomAndContactsChooser(self.host, join, ok_button="Join", visible=(True, False))