prevent TB when reading pending events. Fixes #4035

This commit is contained in:
Yann Leboulanger 2008-06-27 15:56:09 +00:00
parent 7b5a692c3c
commit db3ddc71ff
1 changed files with 2 additions and 0 deletions

View File

@ -2117,6 +2117,8 @@ class Interface:
event = gajim.events.get_first_event(account, fjid, type_)
if not event:
event = gajim.events.get_first_event(account, jid, type_)
if not event:
return
if type_ == 'printed_chat':
ctrl = event.parameters[0]