mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 23:46:21 +00:00
Actually log MUC PM messages
If I'm not mistaken MUC PMs have not been logged at all if there was no other client sending carbons. This should add MUC PM logging functionality. We still need to make sure carbons log to the same file. Regards https://github.com/profanity-im/profanity/issues/1214
This commit is contained in:
@@ -398,6 +398,7 @@ sv_ev_incoming_private_message(ProfMessage *message)
|
||||
privatewin = (ProfPrivateWin*)window;
|
||||
}
|
||||
privwin_incoming_msg(privatewin, message);
|
||||
chat_log_msg_in(message);
|
||||
|
||||
plugins_post_priv_message_display(message->jid->fulljid, message->plain);
|
||||
|
||||
@@ -436,7 +437,7 @@ sv_ev_outgoing_carbon(ProfMessage *message)
|
||||
chat_state_active(chatwin->state);
|
||||
|
||||
if (message->plain) {
|
||||
chat_log_msg_out(message->jid->barejid, message->plain);
|
||||
chat_log_msg_out(message->jid->barejid, message->plain, NULL);
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBGPGME
|
||||
|
||||
Reference in New Issue
Block a user