summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-09-19 22:54:53 +0200
committermathieui <mathieui@mathieui.net>2019-09-19 22:54:53 +0200
commit0139fb291ef4a1c5b462eaf8196cd277d12bb627 (patch)
treea2b8a95ff8dd7b2344a720b99d8faa97f209a9fe
parente58988484a03016df1a331d1389f03a0e7e1bb43 (diff)
downloadslixmpp-0139fb291ef4a1c5b462eaf8196cd277d12bb627.tar.gz
slixmpp-0139fb291ef4a1c5b462eaf8196cd277d12bb627.tar.bz2
slixmpp-0139fb291ef4a1c5b462eaf8196cd277d12bb627.tar.xz
slixmpp-0139fb291ef4a1c5b462eaf8196cd277d12bb627.zip
Fix a bug in the 0202 plugin where a time result would send back a result
poezio bug #3499
-rw-r--r--slixmpp/plugins/xep_0202/time.py2
1 files changed, 1 insertions, 1 deletions
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)