[MIRROR] hands over the round ID to TGchat (#7971)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-03-15 03:44:50 -07:00
committed by GitHub
parent 1912e9b707
commit 1f7b75dc18
5 changed files with 15 additions and 15 deletions

View File

@@ -160,7 +160,6 @@ export const chatMiddleware = (store) => {
settings.visibleMessageLimit,
settings.combineMessageLimit,
settings.combineIntervalLimit,
settings.logLineCount,
settings.logEnable,
settings.logLimit,
settings.storedTypes,
@@ -267,6 +266,10 @@ export const chatMiddleware = (store) => {
saveChatToStorage(store);
return next(action);
}
if (type === 'saveToDiskCommand') {
chatRenderer.saveToDisk(settings.logLineCount);
return;
}
if (type === saveChatToDisk.type) {
chatRenderer.saveToDisk(
settings.logLineCount,