about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c5
1 files changed, 0 insertions, 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;
     }