we now ignore unknown show
This commit is contained in:
parent
cca69c2881
commit
418c02de9a
|
@ -265,9 +265,10 @@ class Connection:
|
||||||
#verify
|
#verify
|
||||||
sigmsg = sigTag.getData()
|
sigmsg = sigTag.getData()
|
||||||
keyID = self.gpg.verify(status, sigmsg)
|
keyID = self.gpg.verify(status, sigmsg)
|
||||||
if not ptype:
|
|
||||||
show = prs.getShow()
|
show = prs.getShow()
|
||||||
if not show:
|
if not show in STATUS_LIST:
|
||||||
|
show = '' # We ignore unknown show
|
||||||
|
if not ptype and not show:
|
||||||
show = 'online'
|
show = 'online'
|
||||||
elif ptype == 'unavailable':
|
elif ptype == 'unavailable':
|
||||||
show = 'offline'
|
show = 'offline'
|
||||||
|
|
Loading…
Reference in New Issue