QR: Add handler for group chat creation event

This commit is contained in:
Cohee
2025-11-21 22:34:42 +02:00
parent 9f7677c04b
commit 45931a334f
@@ -308,6 +308,7 @@ const onNewChat = async () => {
await autoExec.handleNewChat();
};
eventSource.on(event_types.CHAT_CREATED, (...args) => executeIfReadyElseQueue(onNewChat, args));
eventSource.on(event_types.GROUP_CHAT_CREATED, (...args) => executeIfReadyElseQueue(onNewChat, args));
const onBeforeGeneration = async (_generationType, _options = {}, isDryRun = false) => {
if (isDryRun) {