Skip to content
Snippets Groups Projects
Commit 8d1df45f authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

code to take into account the do_not_send_os_info option (need gajim restart...

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)
parent 1c7076cf
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment