keeping convo open after deleting account TB
repro: start up gajim. create a new account. log in. start a convo with someone. log out. delete the account. log in with your other account. start a convo with someone else (tabbed window). click the (now hidden) tab of the convo you had with the now-deleted account:
Traceback (most recent call last):
File "/home/bb/Download/gajim/src/message_window.py", line 121, in _on_window_focus
ctrl.set_control_active(True)
File "/home/bb/Download/gajim/src/chat_control.py", line 1406, in set_control_active
ChatControlBase.set_control_active(self, state)
File "/home/bb/Download/gajim/src/chat_control.py", line 568, in set_control_active
self.parent_win.redraw_tab(self)
File "/home/bb/Download/gajim/src/message_window.py", line 339, in redraw_tab
tab_img = ctrl.get_tab_image()
File "/home/bb/Download/gajim/src/chat_control.py", line 1196, in get_tab_image
self.contact.jid)
File "/home/bb/Download/gajim/src/common/contacts.py", line 210, in get_contact_with_highest_priority
contacts = self.get_contacts_from_jid(account, jid)
File "/home/bb/Download/gajim/src/common/contacts.py", line 195, in get_contacts_from_jid
if jid in self._contacts[account]:
KeyError: u'accountname'
note: 'accountname' was the accountname ( ;) )
click "close", and it reappears immediately.