From 8d1df45f4d348d1d04b798a498f7b01498744851 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 6 Apr 2005 19:19:20 +0000 Subject: [PATCH] code to take into account the do_not_send_os_info option (need gajim restart to be tacken into account, will be fixed when threads will be removed) --- Core/core.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core/core.py b/Core/core.py index 3cd2cb328..d113c786a 100644 --- a/Core/core.py +++ b/Core/core.py @@ -632,7 +632,11 @@ class GajimCore: qp = iq_obj.getTag('query') qp.insertTag('name').insertData('Gajim') qp.insertTag('version').insertData(version.version) - qp.insertTag('os').insertData(get_os_info()) + no_send_os = True + if self.cfgParser.tab['GtkGui'].has_key('do_not_send_os_info'): + no_send_os = self.cfgParser.tab['GtkGui']['do_not_send_os_info'] + if not no_send_os: + qp.insertTag('os').insertData(get_os_info()) con.send(iq_obj) def connect(self, account):