mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 23:16:22 +00:00
Minor improvements.
* Add new TLS policy `direct` as a replacement for `legacy`. * Document that `/[command]?` prints the help of a command. * Add option to get help via `/command help`. * Fix `my-prof.supp` generation and tests for out-of-source builds. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -662,11 +662,9 @@ otr_get_policy(const char* const recipient)
|
||||
prof_otrpolicy_t result = PROF_OTRPOLICY_MANUAL;
|
||||
if (g_strcmp0(account->otr_policy, "manual") == 0) {
|
||||
result = PROF_OTRPOLICY_MANUAL;
|
||||
}
|
||||
if (g_strcmp0(account->otr_policy, "opportunistic") == 0) {
|
||||
} else if (g_strcmp0(account->otr_policy, "opportunistic") == 0) {
|
||||
result = PROF_OTRPOLICY_OPPORTUNISTIC;
|
||||
}
|
||||
if (g_strcmp0(account->otr_policy, "always") == 0) {
|
||||
} else if (g_strcmp0(account->otr_policy, "always") == 0) {
|
||||
result = PROF_OTRPOLICY_ALWAYS;
|
||||
}
|
||||
account_free(account);
|
||||
|
||||
Reference in New Issue
Block a user