* @brief Persists the active-chat pointer. */
| 130 | * @brief Persists the active-chat pointer. |
| 131 | */ |
| 132 | void AI::ChatStore::setLastActiveId(const QString& id) |
| 133 | { |
| 134 | if (m_lastActive == id) |
| 135 | return; |
| 136 | |
| 137 | m_lastActive = id; |
| 138 | writeIndex(); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * @brief Creates a new untitled chat and returns its id. |
no outgoing calls
no test coverage detected