QR: Add handler for group chat creation event
| @@ -308,6 +308,7 @@ const onNewChat = async () => { | ||
| 308 | 308 | await autoExec.handleNewChat(); |
| 309 | 309 | }; |
| 310 | 310 | eventSource.on(event_types.CHAT_CREATED, (...args) => executeIfReadyElseQueue(onNewChat, args)); |
| 311 | +eventSource.on(event_types.GROUP_CHAT_CREATED, (...args) => executeIfReadyElseQueue(onNewChat, args)); | |
| 311 | 312 | |
| 312 | 313 | const onBeforeGeneration = async (_generationType, _options = {}, isDryRun = false) => { |
| 313 | 314 | if (isDryRun) { |