summaryrefslogtreecommitdiff
path: root/src/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.py')
-rw-r--r--src/connection.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/connection.py b/src/connection.py
index 40c5f0ed..bf84bd6d 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -105,10 +105,12 @@ class Connection(sleekxmpp.ClientXMPP):
'version': options.version}
if config.get('send_os_info', True):
info['os'] = common.get_os_info()
- self.plugin['xep_0030'].set_identities(identities=set([('client', 'pc', None,'Poezio')]))
+ self.plugin['xep_0030'].set_identities(
+ identities=set([('client', 'pc', None, 'Poezio')]))
else:
info = {'name': '', 'version': ''}
- self.plugin['xep_0030'].set_identities(identities=set([('client', 'pc', None,'')]))
+ self.plugin['xep_0030'].set_identities(
+ identities=set([('client', 'pc', None, '')]))
self.register_plugin('xep_0092', pconfig=info)
if config.get('send_time', True):
self.register_plugin('xep_0202')