diff --git a/src/db.ts b/src/db.ts index a99dd05..a228825 100644 --- a/src/db.ts +++ b/src/db.ts @@ -1936,13 +1936,13 @@ export function inferRoomModeFromRegisteredAgentTypes( agentTypes: readonly AgentType[], ): RoomMode { const types = new Set(agentTypes); - return types.has('claude-code') && types.has('codex') - ? 'tribunal' - : 'single'; + return types.has('claude-code') && types.has('codex') ? 'tribunal' : 'single'; } export function inferRoomModeForJid(jid: string): RoomMode { - return inferRoomModeFromRegisteredAgentTypes(getRegisteredAgentTypesForJid(jid)); + return inferRoomModeFromRegisteredAgentTypes( + getRegisteredAgentTypesForJid(jid), + ); } export function getExplicitRoomMode(chatJid: string): RoomMode | undefined {