Gajim fails to receive a message from slick
Bug description
When gajim receives a message from Slick (a mobile jabber client http://www.lonelycatgames.com/?app=slick ) it displays a tray notification but when i click on it i get an error message and can't open message window any more.Gajim also fails to quit with the same error message. It only happens on chat start,after i restart gajim and open chat window everything is just fine. Here's the error:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/gajim/systray.py", line 365, in on_clicked
self.on_left_click()
File "/usr/lib/python2.6/site-packages/gajim/systray.py", line 343, in on_left_click
self.handle_first_event()
File "/usr/lib/python2.6/site-packages/gajim/systray.py", line 349, in handle_first_event
gajim.interface.handle_event(account, jid, event.type_)
File "gajim.py", line 2485, in handle_event
ctrl = self.new_chat(contact, account, resource = resource, session = session)
File "gajim.py", line 2937, in new_chat
chat_control = ChatControl(mw, contact, account, session, resource)
File "/usr/lib/python2.6/site-packages/gajim/chat_control.py", line 1244, in __init__
self.update_toolbar()
File "/usr/lib/python2.6/site-packages/gajim/chat_control.py", line 1334, in update_toolbar
if gajim.capscache.is_supported(self.contact, NS_XHTML_IM) \
File "/usr/lib/python2.6/site-packages/gajim/common/caps.py", line 211, in is_supported
features = self[(contact.caps_hash_method, contact.caps_node + '#' + \
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Steps to reproduce
- install gajim
- Install Slick on a mobile
- Get a message