poezio/connection: register xep_0454
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
3c7961dff7
commit
f4ce42c8c7
1 changed files with 5 additions and 0 deletions
|
@ -204,6 +204,11 @@ class Connection(slixmpp.ClientXMPP):
|
||||||
log.error('Failed to load HTTP File Upload plugin, it can only be '
|
log.error('Failed to load HTTP File Upload plugin, it can only be '
|
||||||
'used with aiohttp installed')
|
'used with aiohttp installed')
|
||||||
self.register_plugin('xep_0380')
|
self.register_plugin('xep_0380')
|
||||||
|
try:
|
||||||
|
self.register_plugin('xep_0454')
|
||||||
|
except slixmpp.plugins.base.PluginNotFound:
|
||||||
|
log.error('Failed to load Media Sharing plugin, '
|
||||||
|
'it requires slixmpp 1.8.1.')
|
||||||
self.init_plugins()
|
self.init_plugins()
|
||||||
|
|
||||||
def set_keepalive_values(self, option=None, value=None):
|
def set_keepalive_values(self, option=None, value=None):
|
||||||
|
|
Loading…
Reference in a new issue