* @brief Returns true when a chat with the given id exists. */
| 98 | * @brief Returns true when a chat with the given id exists. |
| 99 | */ |
| 100 | bool AI::ChatStore::contains(const QString& id) const |
| 101 | { |
| 102 | return indexOf(id) >= 0; |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * @brief Returns the id of the last chat marked active, or empty. |
no outgoing calls