summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2020-04-06 13:36:48 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2020-04-06 13:36:48 +0200
commit497706582acea29c22b6e8bdde9126a3fc1eec1d (patch)
tree9769cb0c39a08d45c36e9a09015672fa3c782310
parent6efd7561dd4f17f3548da5c7b2f03944618fb4d9 (diff)
downloadpoezio-497706582acea29c22b6e8bdde9126a3fc1eec1d.tar.gz
poezio-497706582acea29c22b6e8bdde9126a3fc1eec1d.tar.bz2
poezio-497706582acea29c22b6e8bdde9126a3fc1eec1d.tar.xz
poezio-497706582acea29c22b6e8bdde9126a3fc1eec1d.zip
xep_0196: Use correct tag local name (thanks ivucica)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 94b4da5c..1078916f 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -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 = {