Fix a bug in the 0202 plugin where a time result would send back a result
poezio bug #3499
This commit is contained in:
parent
e58988484a
commit
0139fb291e
@ -50,7 +50,7 @@ class XEP_0202(BasePlugin):
|
|||||||
|
|
||||||
self.xmpp.register_handler(
|
self.xmpp.register_handler(
|
||||||
Callback('Entity Time',
|
Callback('Entity Time',
|
||||||
StanzaPath('iq/entity_time'),
|
StanzaPath('iq@type=get/entity_time'),
|
||||||
self._handle_time_request))
|
self._handle_time_request))
|
||||||
register_stanza_plugin(Iq, stanza.EntityTime)
|
register_stanza_plugin(Iq, stanza.EntityTime)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user