summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-06-01 17:00:56 +0200
committermathieui <mathieui@mathieui.net>2013-06-01 17:00:56 +0200
commit248a9ea8227d26338b559cbdf07291f26f7b98e8 (patch)
tree50f73a0d824e65c438017ea2cd0b489cef5c23ad
parent4ee7708b1403088355c6f876a95cab65cc7d9296 (diff)
downloadpoezio-248a9ea8227d26338b559cbdf07291f26f7b98e8.tar.gz
poezio-248a9ea8227d26338b559cbdf07291f26f7b98e8.tar.bz2
poezio-248a9ea8227d26338b559cbdf07291f26f7b98e8.tar.xz
poezio-248a9ea8227d26338b559cbdf07291f26f7b98e8.zip
Update caps after loading the ping plugin
-rw-r--r--plugins/ping.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ping.py b/plugins/ping.py
index c4f56c81..fd64ea2f 100644
--- a/plugins/ping.py
+++ b/plugins/ping.py
@@ -40,6 +40,7 @@ import tabs
class Plugin(BasePlugin):
def init(self):
self.core.xmpp.register_plugin('xep_0199')
+ self.core.xmpp.plugin['xep_0115'].update_caps()
self.api.add_command('ping', self.command_ping,
usage='<jid>',
help='Send a XMPP ping to jid (see XEP-0199).',