1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed compile when no OTR or PGP support

This commit is contained in:
James Booth 2015-08-26 01:48:21 +01:00
parent 35239ee319
commit 5e962fe0f5

View File

@ -148,7 +148,7 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg)
#ifndef HAVE_LIBGPGME #ifndef HAVE_LIBGPGME
char *id = message_send_chat(chatwin->barejid, msg); char *id = message_send_chat(chatwin->barejid, msg);
chat_log_msg_out(chatwin->barejid, msg); chat_log_msg_out(chatwin->barejid, msg);
ui_outgoing_chat_msg(chatwin, msg, id, PROF_ENC_NONE; ui_outgoing_chat_msg(chatwin, msg, id, PROF_ENC_NONE);
free(id); free(id);
return; return;
#endif #endif