From 65e3122f52cbc5e4c908d9527b1604cdf9ed6729 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 27 Sep 2013 00:37:02 -0700 Subject: Update XEP-0319 plugin to track namespace change. --- sleekxmpp/plugins/xep_0319/idle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sleekxmpp/plugins/xep_0319/idle.py') diff --git a/sleekxmpp/plugins/xep_0319/idle.py b/sleekxmpp/plugins/xep_0319/idle.py index e541e0ad..90456f9f 100644 --- a/sleekxmpp/plugins/xep_0319/idle.py +++ b/sleekxmpp/plugins/xep_0319/idle.py @@ -38,10 +38,10 @@ class XEP_0319(BasePlugin): self.xmpp.add_filter('out', self._stamp_idle_presence) def session_bind(self, jid): - self.xmpp['xep_0030'].add_feature('urn:xmpp:idle:0') + self.xmpp['xep_0030'].add_feature('urn:xmpp:idle:1') def plugin_end(self): - self.xmpp['xep_0030'].del_feature(feature='urn:xmpp:idle:0') + self.xmpp['xep_0030'].del_feature(feature='urn:xmpp:idle:1') self.xmpp.del_filter('out', self._stamp_idle_presence) self.xmpp.remove_handler('Idle Presence') -- cgit v1.2.3