TB on startup with offline message
*1. started gajim 2. I had 1 message from Nikos sent offline 3. clicked on notification for the message and got this:
Traceback (most recent call last):
File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/idlequeue.py", line 133, in process_events
obj.pollin()
File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/transports_nb.py", line 144, in pollin
self._do_receive()
File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/transports_nb.py", line 242, in _do_receive
self.on_receive(received)
File "/home/kirov/Projects/gajim/trunk/src/common/xmpp/dispatcher_nb.py", line 353, in dispatch
handler['func'](session,stanza)
File "/home/kirov/Projects/gajim/trunk/src/common/connection_handlers.py", line 1416, in _messageCB
self.dispatch('MSG', (frm, msgtxt, tim, encrypted, mtype, subject,
File "/home/kirov/Projects/gajim/trunk/src/common/connection.py", line 99, in dispatch
self.put_event((event, data))
File "/home/kirov/Projects/gajim/trunk/src/common/connection.py", line 95, in put_event
gajim.handlers[ev[0]](self.name, ev[1])
File "gajim.py", line 612, in handle_event_msg
msg], advanced_notif_num)
File "/home/kirov/Projects/gajim/trunk/src/notify.py", line 156, in notify
advanced_notif_num, is_first_message):
File "/home/kirov/Projects/gajim/trunk/src/common/helpers.py", line 764, in allow_showing_notification
if type and gajim.config.get(type) and first:
NameError: global name 'first' is not defined