summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/connection.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/poezio/connection.py b/poezio/connection.py
index 55cf76e3..291c3cd5 100644
--- a/poezio/connection.py
+++ b/poezio/connection.py
@@ -204,6 +204,11 @@ class Connection(slixmpp.ClientXMPP):
log.error('Failed to load HTTP File Upload plugin, it can only be '
'used with aiohttp installed')
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()
def set_keepalive_values(self, option=None, value=None):