fix var name. Fixes #5934

This commit is contained in:
Yann Leboulanger 2010-09-23 22:17:43 +02:00
parent e0ac19678c
commit f8d691f886
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ class Interface:
if c_.show not in ('offline', 'error'):
obj.show_notif = False
break
if show_notif:
if obj.show_notif:
if obj.old_show < 2 and obj.new_show > 1:
notify.notify('contact_connected', jid, account, status)