Error upon attempting to start chat with JID/Resource from History Viewer
Bug description
Traceback (most recent call last):
File "/usr/share/gajim/src/conversation_textview.py", line 902, in on_start_chat_activate
gajim.interface.new_chat_from_jid(self.account, jid)
File "/usr/share/gajim/src/gui_interface.py", line 2223, in new_chat_from_jid
contact = gajim.contacts.get_contact(account, jid, resource)
File "/usr/share/gajim/src/common/contacts.py", line 305, in get_contact
return self._accounts[account].contacts.get_contact(jid, resource=resource)
KeyError: None
Steps to reproduce
- Open History Viewer
- View a log of public group chat
- or a group chat in which you are an administrator or moderator
- Right-click on JID/Resource
- Click Start Chat
Software versions
OS version: Salix OS 14.1 (Slackware 14.1 based)
GTK version: 2.24.20
PyGTK version: 2.24.0