| 21 | } |
| 22 | |
| 23 | void ChatState::setCurrentChannel(const std::string& channel) { |
| 24 | auto lock = mutex.asScopedLock(); |
| 25 | lock.lock(); |
| 26 | currentChannel = channel; |
| 27 | } |
| 28 | |
| 29 | std::string ChatState::getCurrentChannel() const { |
| 30 | auto lock = mutex.asScopedLock(); |
no test coverage detected