Mercurial > libervia-web
diff src/server/server.py @ 669:a8fddccf5b84 frontends_multi_profiles
server and browser sides: fixes joining room with auto-generated name + leave JID error handling to the backend
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 07 Mar 2015 15:08:56 +0100 |
parents | e1d067378ad3 |
children | a90cc8fc9605 |
line wrap: on
line diff
--- a/src/server/server.py Sat Mar 07 13:28:11 2015 +0100 +++ b/src/server/server.py Sat Mar 07 15:08:56 2015 +0100 @@ -383,12 +383,6 @@ @room_jid: leave empty string to generate a unique name """ profile = ISATSession(self.session).profile - try: - if room_jid != "": - room_jid = JID(room_jid).userhost() - except: - log.warning('Invalid room jid') - return d = self.asyncBridgeCall("joinMUC", room_jid, nick, {}, profile) return d