# HG changeset patch # User Goffi # Date 1325720593 -3600 # Node ID adecb2566b53c53f2c2fe9a27111eaefcc0a8b6d # Parent f9d63624699f021ca5f8c7171f298a4dc1c1678f browser: fixed tabs not opening on room joining diff -r f9d63624699f -r adecb2566b53 libervia.py --- a/libervia.py Thu Jan 05 00:22:03 2012 +0100 +++ b/libervia.py Thu Jan 05 00:43:13 2012 +0100 @@ -325,7 +325,7 @@ self.room_list.add(_target) chat_panel = panels.ChatPanel(self, _target, type='group') chat_panel.setUserNick(user_nick) - if room_jid.node.startswith('sat_tarot_'): #XXX: it's not really beautiful, but it works :) + if _target.node.startswith('sat_tarot_'): #XXX: it's not really beautiful, but it works :) self.addTab(chat_panel, "Tarot") else: self.addTab(chat_panel, _target.node)