ignore show that are not in RFC-3921.
This commit is contained in:
parent
2633b5bf16
commit
5f6c7d858f
1 changed files with 1 additions and 1 deletions
|
@ -2007,7 +2007,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
|||
|
||||
status = prs.getStatus() or ''
|
||||
show = prs.getShow()
|
||||
if not show in STATUS_LIST:
|
||||
if not show in ['away', 'chat', 'dnd', 'xa']:
|
||||
show = '' # We ignore unknown show
|
||||
if not ptype and not show:
|
||||
show = 'online'
|
||||
|
|
Loading…
Add table
Reference in a new issue