mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-04 09:36:20 +00:00
Print actual client id in /privacy overview
Instead of just saying that we sent the "default".
This commit is contained in:
@@ -2929,9 +2929,11 @@ cons_privacy_setting(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (prefs_get_boolean(PREF_REVEAL_OS)) {
|
if (prefs_get_boolean(PREF_REVEAL_OS)) {
|
||||||
cons_show("Reveal OS name when asked for software version (XEP-0092) (/privacy os) : ON");
|
cons_show("Reveal OS name when asked for software");
|
||||||
|
cons_show("version (XEP-0092) (/privacy os) : ON");
|
||||||
} else {
|
} else {
|
||||||
cons_show("Reveal OS name when asked for software version (XEP-0092) (/privacy os) : OFF");
|
cons_show("Reveal OS name when asked for software");
|
||||||
|
cons_show("version (XEP-0092) (/privacy os) : OFF");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (connection_get_status() == JABBER_CONNECTED) {
|
if (connection_get_status() == JABBER_CONNECTED) {
|
||||||
@@ -2941,7 +2943,8 @@ cons_privacy_setting(void)
|
|||||||
if (account->client) {
|
if (account->client) {
|
||||||
cons_show("Client name (/account set <account> clientid) : %s", account->client);
|
cons_show("Client name (/account set <account> clientid) : %s", account->client);
|
||||||
} else {
|
} else {
|
||||||
cons_show("Client name (/account set <account> clientid) : (default)");
|
auto_gchar gchar* prof_version = prof_get_version();
|
||||||
|
cons_show("Client name (/account set <account> clientid) : Profanity %s", prof_version);
|
||||||
}
|
}
|
||||||
if (account->max_sessions > 0) {
|
if (account->max_sessions > 0) {
|
||||||
cons_show("Max sessions alarm (/account set <account> session_alarm) : %s", account->max_sessions);
|
cons_show("Max sessions alarm (/account set <account> session_alarm) : %s", account->max_sessions);
|
||||||
|
|||||||
Reference in New Issue
Block a user