xep_0196: Use correct tag local name (thanks ivucica)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
6efd7561dd
commit
497706582a
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ class HandlerCore:
|
||||||
return
|
return
|
||||||
item = message['pubsub_event']['items']['item']
|
item = message['pubsub_event']['items']['item']
|
||||||
old_gaming = contact.gaming
|
old_gaming = contact.gaming
|
||||||
if item.xml.find('{urn:xmpp:gaming:0}gaming') is not None:
|
if item.xml.find('{urn:xmpp:gaming:0}game') is not None:
|
||||||
item = item['gaming']
|
item = item['gaming']
|
||||||
# only name and server_address are used for now
|
# only name and server_address are used for now
|
||||||
contact.gaming = {
|
contact.gaming = {
|
||||||
|
|
Loading…
Reference in a new issue