| 27 | } |
| 28 | |
| 29 | std::string ChatState::getCurrentChannel() const { |
| 30 | auto lock = mutex.asScopedLock(); |
| 31 | lock.lock(); |
| 32 | return currentChannel; |
| 33 | } |
| 34 | |
| 35 | void ChatState::addMessage(const StoredMessage& msg) { |
| 36 | auto lock = mutex.asScopedLock(); |
no test coverage detected