From 497706582acea29c22b6e8bdde9126a3fc1eec1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 6 Apr 2020 13:36:48 +0200 Subject: xep_0196: Use correct tag local name (thanks ivucica) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { -- cgit v1.2.3