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:
parent
32da6548da
commit
a4f9661da2
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user