Commit cf595c0f authored by mathieui's avatar mathieui

Enable XEP-0319 and use it instead of 0012

(it does both by default, and is better)
parent b3e534e2
......@@ -162,6 +162,7 @@ class Connection(slixmpp.ClientXMPP):
self.register_plugin('xep_0280')
self.register_plugin('xep_0297')
self.register_plugin('xep_0308')
self.register_plugin('xep_0319')
self.register_plugin('xep_0334')
self.register_plugin('xep_0352')
self.init_plugins()
......
......@@ -654,7 +654,7 @@ class Core(object):
else:
self.do_command(''.join(char_list), True)
if self.status.show not in ('xa', 'away'):
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
self.xmpp.plugin['xep_0319'].idle()
self.doupdate()
def save_config(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment