Skip to content

The agent that grows with you

fix(bot-mode): fresh-room name uniquify counts every membership, not just the legacy scalar

Tekniumc381aef16f8c
diff --git a/apps/desktop/src/plugins/hermes-bots/plugin.js b/apps/desktop/src/plugins/hermes-bots/plugin.js
index aa9454e12df..38e3881cd11 100644
--- a/apps/desktop/src/plugins/hermes-bots/plugin.js
+++ b/apps/desktop/src/plugins/hermes-bots/plugin.js
@@ -7447,9 +7447,7 @@ function CreateGroupChatDialog({ open, roster, onClose, onCreated }) {
const taken = new Set(Object.keys($groupChats.get()))
for (const meta of Object.values($botMeta.get() || {})) {
- const existing = String(meta?.group || '').trim()
-
- if (existing) {
+ for (const existing of botGroups(meta)) {
taken.add(existing)
}
}