Added [OTR] and (trusted/untrusted) to titlebar for OTR sessions

This commit is contained in:
James Booth
2014-01-11 18:24:44 +00:00
parent bf494b1b07
commit b5469e2e06
5 changed files with 17 additions and 0 deletions

View File

@@ -516,6 +516,15 @@ _get_recipient_string(ProfWin *window)
g_string_append(result, window->from);
}
if (window->is_otr) {
g_string_append(result, " [OTR]");
if (window->is_trusted) {
g_string_append(result, " (trusted)");
} else {
g_string_append(result, " (untrusted)");
}
}
return result;
}