about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-04-19 21:03:20 +0100
committerJames Booth <boothj5@gmail.com>2015-04-19 21:03:20 +0100
commita4f9661da2b9328b51a81272aecf91129f97cc72 (patch)
treefe2f388f2bf62c789e568d26e892a3b774b5b009 /src
parent32da6548da7bc9941b2ff64924223d67cdb0b063 (diff)
downloadprofani-tty-a4f9661da2b9328b51a81272aecf91129f97cc72.tar.gz
Removed unused otr check
Diffstat (limited to 'src')
-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;
     }