Load xep_0092 even if send_poezio_info is false
This commit is contained in:
parent
2ad7416a6d
commit
bdcddf56e1
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ class Connection(sleekxmpp.ClientXMPP):
|
|||
'version':'0.7.5-dev'}
|
||||
if config.get('send_os_info', 'true') == 'true':
|
||||
info['os'] = common.get_os_info()
|
||||
self.register_plugin('xep_0092', pconfig=info)
|
||||
else:
|
||||
info = {'name': '', 'version': ''}
|
||||
self.register_plugin('xep_0092', pconfig=info)
|
||||
if config.get('send_time', 'true') == 'true':
|
||||
self.register_plugin('xep_0202')
|
||||
self.register_plugin('xep_0224')
|
||||
|
|
Loading…
Reference in a new issue