Renamed otr trusted window property

This commit is contained in:
James Booth
2015-06-13 01:13:56 +01:00
parent 362c1d81ae
commit e0783e20db
4 changed files with 7 additions and 7 deletions

View File

@@ -909,7 +909,7 @@ ui_gone_secure(const char * const barejid, gboolean trusted)
}
chatwin->enc_mode = PROF_ENC_OTR;
chatwin->is_trusted = trusted;
chatwin->otr_is_trusted = trusted;
if (trusted) {
win_print(window, '!', NULL, 0, THEME_OTR_STARTED_TRUSTED, "", "OTR session started (trusted).");
} else {
@@ -937,7 +937,7 @@ ui_gone_insecure(const char * const barejid)
ProfChatWin *chatwin = wins_get_chat(barejid);
if (chatwin) {
chatwin->enc_mode = PROF_ENC_NONE;
chatwin->is_trusted = FALSE;
chatwin->otr_is_trusted = FALSE;
ProfWin *window = (ProfWin*)chatwin;
win_print(window, '!', NULL, 0, THEME_OTR_ENDED, "", "OTR session ended.");
@@ -1056,7 +1056,7 @@ ui_trust(const char * const barejid)
ProfChatWin *chatwin = wins_get_chat(barejid);
if (chatwin) {
chatwin->enc_mode = PROF_ENC_OTR;
chatwin->is_trusted = TRUE;
chatwin->otr_is_trusted = TRUE;
ProfWin *window = (ProfWin*)chatwin;
win_print(window, '!', NULL, 0, THEME_OTR_TRUSTED, "", "OTR session trusted.");
@@ -1072,7 +1072,7 @@ ui_untrust(const char * const barejid)
ProfChatWin *chatwin = wins_get_chat(barejid);
if (chatwin) {
chatwin->enc_mode = PROF_ENC_OTR;
chatwin->is_trusted = FALSE;
chatwin->otr_is_trusted = FALSE;
ProfWin *window = (ProfWin*)chatwin;
win_print(window, '!', NULL, 0, THEME_OTR_UNTRUSTED, "", "OTR session untrusted.");