Update caps after loading the ping plugin

This commit is contained in:
mathieui 2013-06-01 17:00:56 +02:00
parent 4ee7708b14
commit 248a9ea822

View file

@ -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).',