MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / getCurrentChannel

Method getCurrentChannel

Tactility/Source/app/chat/ChatState.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

sendMessageMethod · 0.80
updateToolbarTitleMethod · 0.80
displayMessageMethod · 0.80
showChannelSelectorMethod · 0.80

Calls 2

asScopedLockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected