Fix a bug in the 0202 plugin where a time result would send back a result

poezio bug #3499
This commit is contained in:
mathieui 2019-09-19 22:54:53 +02:00
parent e58988484a
commit 0139fb291e
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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)