From 58bef8e5923a25ec2d91e157b04479500b76e971 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sat, 28 Mar 2020 01:19:39 +0100 Subject: db: dont log reflected MUC messages --- src/event/server_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/event/server_events.c b/src/event/server_events.c index 6ca51bd2..d1223082 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -301,6 +301,7 @@ static void _log_muc(ProfMessage *message) } else { groupchat_log_msg_in(message->jid->barejid, message->jid->resourcepart, message->plain); } + log_database_add_incoming_muc(message); } void @@ -327,7 +328,6 @@ sv_ev_room_message(ProfMessage *message) GList *triggers = prefs_message_get_triggers(message->plain); _clean_incoming_message(message); - log_database_add_incoming_muc(message); mucwin_incoming_msg(mucwin, message, mentions, triggers, TRUE); g_slist_free(mentions); -- cgit 1.4.1-2-gfad0