chore: checkpoint current work

This commit is contained in:
Lorenzune
2026-04-03 05:22:26 +02:00
parent 83540ff329
commit 36c0221a54
477 changed files with 3799 additions and 1071 deletions
+2
View File
@@ -6,6 +6,7 @@ import { useMessageEvent, useNitroEvent } from '../events';
import { useLocalStorage } from '../useLocalStorage';
const ROOM_HISTORY_MAX = 10;
const CHAT_HISTORY_MAX = 1000;
const MESSENGER_HISTORY_MAX = 1000;
let CHAT_HISTORY_COUNTER: number = 0;
@@ -28,6 +29,7 @@ const useChatHistoryState = () =>
newValue.push(entry);
if(newValue.length > CHAT_HISTORY_MAX) newValue.shift();
return newValue;
});