support bot: do not log contacts on start (#6928)

This commit is contained in:
Evgeny
2026-04-30 16:47:22 +01:00
committed by GitHub
parent 1e26e84e32
commit 15f9d28fb9
+1 -1
View File
@@ -165,7 +165,7 @@ async function main(): Promise<void> {
// Step 5: List contacts, resolve Grok contact
const contacts = await chat.apiListContacts(mainUser.userId)
log(`Contacts: ${contacts.map(c => `${c.contactId}:${c.profile.displayName}`).join(", ") || "(none)"}`)
log(`Contacts connected: ${contacts.length || "(none)"}`)
// Always restore grokContactId so the one-way gate can find and remove
// Grok members even when Grok API is disabled.