aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormathieui2019-09-19 20:54:53 (GMT)
committermathieui2019-09-19 20:54:53 (GMT)
commit0139fb291ef4a1c5b462eaf8196cd277d12bb627 (patch)
treea2b8a95ff8dd7b2344a720b99d8faa97f209a9fe
parente58988484a03016df1a331d1389f03a0e7e1bb43 (diff)
downloadslixmpp-0139fb291ef4a1c5b462eaf8196cd277d12bb627.tar.gz
slixmpp-0139fb291ef4a1c5b462eaf8196cd277d12bb627.tar.xz
Fix a bug in the 0202 plugin where a time result would send back a resultHEADrefs/keep-around/0139fb291ef4a1c5b462eaf8196cd277d12bb627master
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 e7e117a..2b40dbb 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)