mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fixed compile error when no OTR support
This commit is contained in:
parent
ba89297382
commit
9800a46adb
@ -1418,8 +1418,8 @@ ui_outgoing_chat_msg(const char * const from, const char * const barejid,
|
||||
// create new window
|
||||
if (window == NULL) {
|
||||
window = wins_new_chat(barejid);
|
||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||
#ifdef HAVE_LIBOTR
|
||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||
if (otr_is_secure(barejid)) {
|
||||
chatwin->is_otr = TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user