From a4f9661da2b9328b51a81272aecf91129f97cc72 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 19 Apr 2015 21:03:20 +0100 Subject: Removed unused otr check --- src/ui/core.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ui/core.c b/src/ui/core.c index e1df5edf..9f8ac806 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -417,11 +417,6 @@ ui_incoming_msg(const char * const barejid, const char * const resource, const c if (chatwin == NULL) { ProfWin *window = wins_new_chat(barejid); chatwin = (ProfChatWin*)window; -#ifdef HAVE_LIBOTR - if (otr_is_secure(barejid)) { - chatwin->is_otr = TRUE; - } -#endif win_created = TRUE; } -- cgit 1.4.1-2-gfad0