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
This commit is contained in:
parent
e5398e68e9
commit
f1f1ccd506
2 changed files with 0 additions and 8 deletions
|
@ -192,14 +192,10 @@ class Connection(slixmpp.ClientXMPP):
|
||||||
self.register_plugin('xep_0297')
|
self.register_plugin('xep_0297')
|
||||||
self.register_plugin('xep_0308')
|
self.register_plugin('xep_0308')
|
||||||
self.register_plugin('xep_0313')
|
self.register_plugin('xep_0313')
|
||||||
self.register_plugin('xep_0319')
|
|
||||||
self.register_plugin('xep_0334')
|
self.register_plugin('xep_0334')
|
||||||
self.register_plugin('xep_0352')
|
self.register_plugin('xep_0352')
|
||||||
try:
|
try:
|
||||||
self.register_plugin('xep_0363')
|
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:
|
except slixmpp.plugins.base.PluginNotFound:
|
||||||
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')
|
||||||
|
|
|
@ -672,10 +672,6 @@ class Core:
|
||||||
self.do_command(replace_line_breaks(char), False)
|
self.do_command(replace_line_breaks(char), False)
|
||||||
else:
|
else:
|
||||||
self.do_command(''.join(char_list), True)
|
self.do_command(''.join(char_list), True)
|
||||||
if self.status.show not in ('xa', 'away'):
|
|
||||||
asyncio.ensure_future(
|
|
||||||
self.xmpp.plugin['xep_0319'].idle()
|
|
||||||
)
|
|
||||||
self.doupdate()
|
self.doupdate()
|
||||||
|
|
||||||
def save_config(self):
|
def save_config(self):
|
||||||
|
|
Loading…
Reference in a new issue