()
| 2697 | } |
| 2698 | |
| 2699 | func (e *multipleActiveChatsError) Error() string { |
| 2700 | return fmt.Sprintf( |
| 2701 | "multiple active chats (%d) found for this agent, specify a chat ID", |
| 2702 | e.count, |
| 2703 | ) |
| 2704 | } |
| 2705 | |
| 2706 | func resolveDefaultAgentChat(chats []database.Chat) (database.Chat, error) { |
| 2707 | switch len(chats) { |
no outgoing calls
no test coverage detected