about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/event/server_events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index c1f11332..0f6df2ac 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -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);