diff options
author | mathieui <mathieui@mathieui.net> | 2012-05-04 18:52:36 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-05-04 18:52:36 +0200 |
commit | 7778ad921620e7143fc59be4bd9d2ecb9ad08704 (patch) | |
tree | 83d2884b4f40a995906749076c271db36c67c085 /src | |
parent | 8fc6e536612bc79b7371db31560043d084e1d724 (diff) | |
download | poezio-7778ad921620e7143fc59be4bd9d2ecb9ad08704.tar.gz poezio-7778ad921620e7143fc59be4bd9d2ecb9ad08704.tar.bz2 poezio-7778ad921620e7143fc59be4bd9d2ecb9ad08704.tar.xz poezio-7778ad921620e7143fc59be4bd9d2ecb9ad08704.zip |
0030 query now says 'Poezio' or nothing for the client’s identity
(Fixes #2273)
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/connection.py b/src/connection.py index 2c51a78c..ce300261 100644 --- a/src/connection.py +++ b/src/connection.py @@ -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') |