From 0139fb291ef4a1c5b462eaf8196cd277d12bb627 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 19 Sep 2019 22:54:53 +0200 Subject: [PATCH] Fix a bug in the 0202 plugin where a time result would send back a result poezio bug #3499 --- slixmpp/plugins/xep_0202/time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/plugins/xep_0202/time.py b/slixmpp/plugins/xep_0202/time.py index e7e117a4..2b40dbb2 100644 --- a/slixmpp/plugins/xep_0202/time.py +++ b/slixmpp/plugins/xep_0202/time.py @@ -50,7 +50,7 @@ class XEP_0202(BasePlugin): self.xmpp.register_handler( Callback('Entity Time', - StanzaPath('iq/entity_time'), + StanzaPath('iq@type=get/entity_time'), self._handle_time_request)) register_stanza_plugin(Iq, stanza.EntityTime)