0030 query now says 'Poezio' or nothing for the client’s identity
(Fixes #2273)
This commit is contained in:
parent
8fc6e53661
commit
7778ad9216
1 changed files with 2 additions and 0 deletions
|
@ -62,8 +62,10 @@ class Connection(sleekxmpp.ClientXMPP):
|
|||
'version':'0.7.5-dev'}
|
||||
if config.get('send_os_info', 'true') == 'true':
|
||||
info['os'] = common.get_os_info()
|
||||
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.register_plugin('xep_0092', pconfig=info)
|
||||
if config.get('send_time', 'true') == 'true':
|
||||
self.register_plugin('xep_0202')
|
||||
|
|
Loading…
Reference in a new issue