1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

db: dont log reflected MUC messages

This commit is contained in:
Michael Vetter 2020-03-28 01:19:39 +01:00
parent a0a4fd0426
commit 58bef8e592

View File

@ -301,6 +301,7 @@ static void _log_muc(ProfMessage *message)
} else { } else {
groupchat_log_msg_in(message->jid->barejid, message->jid->resourcepart, message->plain); groupchat_log_msg_in(message->jid->barejid, message->jid->resourcepart, message->plain);
} }
log_database_add_incoming_muc(message);
} }
void void
@ -327,7 +328,6 @@ sv_ev_room_message(ProfMessage *message)
GList *triggers = prefs_message_get_triggers(message->plain); GList *triggers = prefs_message_get_triggers(message->plain);
_clean_incoming_message(message); _clean_incoming_message(message);
log_database_add_incoming_muc(message);
mucwin_incoming_msg(mucwin, message, mentions, triggers, TRUE); mucwin_incoming_msg(mucwin, message, mentions, triggers, TRUE);
g_slist_free(mentions); g_slist_free(mentions);