xep_0196: Use correct tag local name (thanks ivucica)

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 6efd7561
......@@ -553,7 +553,7 @@ class HandlerCore:
return
item = message['pubsub_event']['items']['item']
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']
# only name and server_address are used for now
contact.gaming = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment