mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 14:06:21 +00:00
Fixed compile error when no OTR support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user