summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-06-05 02:14:26 +0200
committermathieui <mathieui@mathieui.net>2016-06-05 02:14:26 +0200
commitcf595c0ffd06f9b69f0466009516bf02bbc3ad99 (patch)
treefe41709fdfb7dd970030ee325939638d3435d907 /src
parentb3e534e20026cb2d16f3d862f94d42174e85f665 (diff)
downloadpoezio-cf595c0ffd06f9b69f0466009516bf02bbc3ad99.tar.gz
poezio-cf595c0ffd06f9b69f0466009516bf02bbc3ad99.tar.bz2
poezio-cf595c0ffd06f9b69f0466009516bf02bbc3ad99.tar.xz
poezio-cf595c0ffd06f9b69f0466009516bf02bbc3ad99.zip
Enable XEP-0319 and use it instead of 0012
(it does both by default, and is better)
Diffstat (limited to 'src')
-rw-r--r--src/connection.py1
-rw-r--r--src/core/core.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/connection.py b/src/connection.py
index c105c4bd..c4cc8b6b 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -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()
diff --git a/src/core/core.py b/src/core/core.py
index cf2cfc2e..f32099f1 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -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):