changeset 73cbc9629ca1 in /home/hg/repos/gajim
branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=73cbc9629ca1 description: fix traceback. Fixes #7340
diffstat:
src/chat_control.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 4eebe6e0b402 -r 73cbc9629ca1 src/chat_control.py --- a/src/chat_control.py Sat Apr 27 14:37:41 2013 +0200 +++ b/src/chat_control.py Thu May 02 21:46:10 2013 +0200 @@ -988,7 +988,8 @@ return if kind in ('incoming', 'outgoing'): self.last_received_txt[name] = text - self.last_received_id[name] = correct_id[0] + if correct_id: + self.last_received_id[name] = correct_id[0] if kind == 'incoming': if not self.type_id == message_control.TYPE_GC or \ gajim.config.get('notify_on_all_muc_messages') or \