little bugfix
This commit is contained in:
parent
8afe171636
commit
923934bfd8
|
@ -2710,6 +2710,7 @@ class plugin:
|
||||||
old_show = statuss.index(user1.show)
|
old_show = statuss.index(user1.show)
|
||||||
else:
|
else:
|
||||||
user1 = self.roster.contacts[account][ji][0]
|
user1 = self.roster.contacts[account][ji][0]
|
||||||
|
if user1.show in statuss:
|
||||||
old_show = statuss.index(user1.show)
|
old_show = statuss.index(user1.show)
|
||||||
if (resources != [''] and (len(luser) != 1 or
|
if (resources != [''] and (len(luser) != 1 or
|
||||||
luser[0].show != 'offline')) and not string.find(jid, "@") <= 0:
|
luser[0].show != 'offline')) and not string.find(jid, "@") <= 0:
|
||||||
|
|
Loading…
Reference in New Issue