changeset 6809fc371f77 in /home/hg/repos/gajim
branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=6809fc371f77 description: fix traceback. Fixes #7340
diffstat:
src/chat_control.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r fb8063bb4801 -r 6809fc371f77 src/chat_control.py --- a/src/chat_control.py Fri Apr 26 13:01:05 2013 +0400 +++ b/src/chat_control.py Thu May 02 21:46:10 2013 +0200 @@ -1022,7 +1022,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 \