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:
parent
a0a4fd0426
commit
58bef8e592
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user