diff src/browser/sat_browser/menu.py @ 776:627b9073a2ec

browser side: the new menu 'help/official room chat' launch the default_muc room, which can be used to get some help
author Goffi <goffi@goffi.org>
date Sun, 29 Nov 2015 22:58:38 +0100
parents ad733b670cc3
children 7ebde6d1a4bd
line wrap: on
line diff
--- a/src/browser/sat_browser/menu.py	Wed Nov 25 19:39:20 2015 +0100
+++ b/src/browser/sat_browser/menu.py	Sun Nov 29 22:58:38 2015 +0100
@@ -100,6 +100,10 @@
 
     # Help menu
 
+    def onOfficialChatRoom(self):
+        nick = self.host.whoami.node
+        self.host.bridge.joinMUC(self.host.default_muc, nick, profile=C.PROF_KEY_NONE, callback=lambda dummy: None, errback=self.host.showFailureRoomInvalid)
+
     def onSocialContract(self):
         _frame = Frame('contrat_social.html')
         _frame.setStyleName('infoFrame')