summaryrefslogtreecommitdiff
path: root/poezio/connection.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-16 19:13:45 +0200
committermathieui <mathieui@mathieui.net>2021-04-16 19:40:11 +0200
commitf1f1ccd5063ca12a4c6a1a5631ee511331e882fe (patch)
tree7a2acc4749baead00d368d94a3df9252791c83ca /poezio/connection.py
parente5398e68e97b56f1c1daa8fe104208862c66900f (diff)
downloadpoezio-f1f1ccd5063ca12a4c6a1a5631ee511331e882fe.tar.gz
poezio-f1f1ccd5063ca12a4c6a1a5631ee511331e882fe.tar.bz2
poezio-f1f1ccd5063ca12a4c6a1a5631ee511331e882fe.tar.xz
poezio-f1f1ccd5063ca12a4c6a1a5631ee511331e882fe.zip
internal: remove the xep-0319 implementation
It is not privacy-friendly and not performance-friendly to have more code called on each input when in "available" status
Diffstat (limited to 'poezio/connection.py')
-rw-r--r--poezio/connection.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/poezio/connection.py b/poezio/connection.py
index 06715b6b..c24dd913 100644
--- a/poezio/connection.py
+++ b/poezio/connection.py
@@ -192,14 +192,10 @@ class Connection(slixmpp.ClientXMPP):
self.register_plugin('xep_0297')
self.register_plugin('xep_0308')
self.register_plugin('xep_0313')
- self.register_plugin('xep_0319')
self.register_plugin('xep_0334')
self.register_plugin('xep_0352')
try:
self.register_plugin('xep_0363')
- except SyntaxError:
- log.error('Failed to load HTTP File Upload plugin, it can only be '
- 'used on Python 3.5+')
except slixmpp.plugins.base.PluginNotFound:
log.error('Failed to load HTTP File Upload plugin, it can only be '
'used with aiohttp installed')