Move /os into /privacy os

Related to https://github.com/profanity-im/profanity/issues/1836
This commit is contained in:
Michael Vetter
2023-07-25 11:22:42 +02:00
parent feba4b8263
commit f7cce4c5c1
6 changed files with 25 additions and 34 deletions

View File

@@ -2171,16 +2171,6 @@ 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_correction_setting(void)
{
@@ -2956,4 +2946,10 @@ cons_privacy_setting(void)
} else {
cons_show("Chat history (/history) : OFF");
}
if (prefs_get_boolean(PREF_REVEAL_OS)) {
cons_show("Reveal OS name when asked for software version (XEP-0092) (/privacy os) : ON");
} else {
cons_show("Reveal OS name when asked for software version (XEP-0092) (/privacy os) : OFF");
}
}

View File

@@ -334,7 +334,6 @@ void cons_inpblock_setting(void);
void cons_statusbar_setting(void);
void cons_winpos_setting(void);
void cons_color_setting(void);
void cons_os_setting(void);
void cons_correction_setting(void);
void cons_executable_setting(void);
void cons_slashguard_setting(void);