[Update] Main Page: Message Logs. Add system message (Word Filter)

This commit is contained in:
Sakamoto Shiina
2024-12-26 15:35:41 +09:00
parent 775e92daf5
commit 92cb5801da
5 changed files with 60 additions and 12 deletions

View File

@@ -93,6 +93,7 @@ export const useReceiveRoutes = () => {
} = useLanguageSettings();
const { updateSelectableLanguageList } = useSelectableLanguageList();
const {
addSystemMessageLog,
updateSentMessageLogById,
addSentMessageLog,
addReceivedMessageLog,
@@ -382,6 +383,8 @@ export const useReceiveRoutes = () => {
return updated_list;
});
},
"/run/word_filter": (payload) => addSystemMessageLog(payload.message),
"/get/data/speaker_record_timeout": updateSpeakerRecordTimeout,
"/set/data/speaker_record_timeout": updateSpeakerRecordTimeout,