mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 03:22:12 +00:00
[MIRROR] hands over the round ID to TGchat (#7971)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user