1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed unused otr check

This commit is contained in:
James Booth 2015-04-19 21:03:20 +01:00
parent 32da6548da
commit a4f9661da2

View File

@ -417,11 +417,6 @@ ui_incoming_msg(const char * const barejid, const char * const resource, const c
if (chatwin == NULL) { if (chatwin == NULL) {
ProfWin *window = wins_new_chat(barejid); ProfWin *window = wins_new_chat(barejid);
chatwin = (ProfChatWin*)window; chatwin = (ProfChatWin*)window;
#ifdef HAVE_LIBOTR
if (otr_is_secure(barejid)) {
chatwin->is_otr = TRUE;
}
#endif
win_created = TRUE; win_created = TRUE;
} }