Mercurial > libervia-web
diff src/server/server.py @ 692:7a9c7b9f6a28
browser_side: use host.default_muc instead of C.DEFAULT_MUC
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 09 Apr 2015 11:37:25 +0200 |
parents | a6adefddcb0a |
children | 82123705474b |
line wrap: on
line diff
--- a/src/server/server.py Thu Apr 09 11:46:45 2015 +0200 +++ b/src/server/server.py Thu Apr 09 11:37:25 2015 +0200 @@ -431,6 +431,11 @@ profile = ISATSession(self.session).profile return self.sat_host.bridge.getRoomsSubjects(profile) + def jsonrpc_getDefaultMUC(self): + """@return: the default MUC""" + d = self.asyncBridgeCall("getDefaultMUC") + return d + def jsonrpc_launchTarotGame(self, other_players, room_jid=""): """Create a room, invite the other players and start a Tarot game.