xep_0196: Use correct tag local name (thanks ivucica)

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-06 13:36:48 +02:00
parent 6efd7561dd
commit 497706582a
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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 = {