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)
This commit is contained in:
parent
1c7076cfb0
commit
8d1df45f4d
|
@ -632,6 +632,10 @@ class GajimCore:
|
|||
qp = iq_obj.getTag('query')
|
||||
qp.insertTag('name').insertData('Gajim')
|
||||
qp.insertTag('version').insertData(version.version)
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue