gajim shows error messages after closing the window
Bug description
I wanted to reproduce a MAM related bug and had two instances of gajim open. I did several reconnects with at least one instance of gajim. Then, I closed this instance via the X in the top right and got a blinking tray icon. When I clicked on the tray icon an error message appeared with the following content:
Traceback (most recent call last):
File "/usr/share/gajim/src/statusicon.py", line 116, in on_status_icon_left_clicked
self.on_left_click()
File "/usr/share/gajim/src/statusicon.py", line 428, in on_left_click
self.handle_first_event()
File "/usr/share/gajim/src/statusicon.py", line 440, in handle_first_event
gajim.interface.handle_event(account, jid, event.type_)
File "/usr/share/gajim/src/gui_interface.py", line 1706, in handle_event
session=session)
File "/usr/share/gajim/src/gui_interface.py", line 2202, in new_chat
fjid = contact.jid
AttributeError: 'NoneType' object has no attribute 'jid'
Steps to reproduce
Unfortunately, I couldn't reproduce this bug. But in the MUC I was told to write a ticket nevertheless. Maybe it is useful for anyone here?
Software versions
OS version: Fedora 24
GTK version: 2.24.30
PyGTK version: 2.24.0