And ifdefs around new OX functions

Fix for some build cases introduced in 2c94ee5a88
Fix https://github.com/profanity-im/profanity/issues/1376
This commit is contained in:
Michael Vetter
2020-06-30 11:10:27 +02:00
parent 60f4098846
commit 8de6a7bfb0
2 changed files with 11 additions and 8 deletions

View File

@@ -529,8 +529,8 @@ _sv_ev_incoming_ox(ProfChatWin *chatwin, gboolean new_win, ProfMessage *message,
chatwin->pgp_recv = TRUE;
//p_gpg_free_decrypted(message->plain);
message->plain = NULL;
}
#endif
}
static void
_sv_ev_incoming_otr(ProfChatWin *chatwin, gboolean new_win, ProfMessage *message)