use correct account when we look for recent messages.
This commit is contained in:
parent
896b5647f2
commit
44f4940c6c
|
@ -4062,8 +4062,9 @@ class RosterWindow:
|
||||||
|
|
||||||
for ctrl in win.controls():
|
for ctrl in win.controls():
|
||||||
fjid = ctrl.get_full_jid()
|
fjid = ctrl.get_full_jid()
|
||||||
if gajim.last_message_time[acct].has_key(fjid):
|
if gajim.last_message_time[ctrl.account].has_key(fjid):
|
||||||
if time.time() - gajim.last_message_time[acct][fjid] < 2:
|
if time.time() - gajim.last_message_time[ctrl.accountt][fjid]\
|
||||||
|
< 2:
|
||||||
recent = True
|
recent = True
|
||||||
break
|
break
|
||||||
if unread:
|
if unread:
|
||||||
|
|
Loading…
Reference in New Issue