summaryrefslogtreecommitdiff
path: root/src/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.py')
-rw-r--r--src/connection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.py b/src/connection.py
index 658dc9e2..30e0b552 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -18,7 +18,7 @@ from gettext import (bindtextdomain, textdomain, bind_textdomain_codeset,
import getpass
import sleekxmpp
-from config import config
+from config import config, options
from logger import logger
import common
@@ -64,7 +64,7 @@ class Connection(sleekxmpp.ClientXMPP):
self.register_plugin('xep_0191')
if config.get('send_poezio_info', 'true') == 'true':
info = {'name':'poezio',
- 'version':'0.8-dev'}
+ 'version': options.version}
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')]))