summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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):