From ee9ca24f8726009f78a2e192b9d29c6e57bac45d Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 22 May 2020 16:42:20 +0200 Subject: [PATCH] Log all carbon copied messages So far we only had the logging in sv_ev_incoming_carbon() not sv_ev_outgoing_carbon(). Regards https://github.com/profanity-im/profanity/issues/1342 --- src/event/server_events.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/event/server_events.c b/src/event/server_events.c index 153618f2..c1f7b90e 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -452,6 +452,7 @@ sv_ev_outgoing_carbon(ProfMessage *message) } else { chat_log_msg_out(message->from_jid->barejid, message->plain, NULL); } + log_database_add_incoming(message); } #ifdef HAVE_LIBGPGME