mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 05:36:22 +00:00
XEP-0092: Add configuration option to choose whether to send OS name
`/os on|off` now let's one choose whether to include the OS name once `/software` (XEP-0092) is ran on us.
This commit is contained in:
@@ -2011,6 +2011,16 @@ cons_color_setting(void)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
cons_os_setting(void)
|
||||
{
|
||||
if (prefs_get_boolean(PREF_REVEAL_OS)) {
|
||||
cons_show("Reveal OS name when asked for software version (XEP-0092) (/os) : ON");
|
||||
} else {
|
||||
cons_show("Reveal OS name when asked for software version (XEP-0092) (/os) : OFF");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_connection_prefs(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user