diff options
author | mathieui <mathieui@mathieui.net> | 2012-04-27 23:09:26 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-04-27 23:09:26 +0200 |
commit | de63a1affdb57f521ab2e7a3e89182c79c1ebe2f (patch) | |
tree | cc983fc5a360cae7e922f2c707b834af20b50cab /src/connection.py | |
parent | 2488216fbaa6c4a9b1f264ca455665ae1675a151 (diff) | |
parent | 2a3434b1f81bed7e6c781a9504a87905f2d07948 (diff) | |
download | poezio-de63a1affdb57f521ab2e7a3e89182c79c1ebe2f.tar.gz poezio-de63a1affdb57f521ab2e7a3e89182c79c1ebe2f.tar.bz2 poezio-de63a1affdb57f521ab2e7a3e89182c79c1ebe2f.tar.xz poezio-de63a1affdb57f521ab2e7a3e89182c79c1ebe2f.zip |
Roster update: Merge branch 'master' of https://git.louiz.org/poezio
Conflicts:
src/core.py
src/tabs.py
Diffstat (limited to 'src/connection.py')
-rw-r--r-- | src/connection.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/connection.py b/src/connection.py index e4e2cfb2..2c51a78c 100644 --- a/src/connection.py +++ b/src/connection.py @@ -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') |