mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Add logging consistency
Since MUC private messages are not logged by design, part where this logging happening is removed to add consistency. Add explanation in comment.
This commit is contained in:
parent
5a1f2dedd3
commit
96ddb2399e
@ -433,7 +433,7 @@ sv_ev_incoming_private_message(ProfMessage* message)
|
||||
|
||||
_clean_incoming_message(message);
|
||||
privwin_incoming_msg(privatewin, message);
|
||||
log_database_add_incoming(message);
|
||||
// Intentionally skipping log to DB because we can't authenticate the sender
|
||||
chat_log_msg_in(message);
|
||||
|
||||
plugins_post_priv_message_display(message->from_jid->fulljid, message->plain);
|
||||
@ -457,6 +457,7 @@ sv_ev_delayed_private_message(ProfMessage* message)
|
||||
|
||||
_clean_incoming_message(message);
|
||||
privwin_incoming_msg(privatewin, message);
|
||||
// Intentionally skipping log to DB because we can't authenticate the sender
|
||||
chat_log_msg_in(message);
|
||||
|
||||
plugins_post_priv_message_display(message->from_jid->fulljid, message->plain);
|
||||
|
Loading…
Reference in New Issue
Block a user