diff options
Diffstat (limited to 'src/session.hpp')
| -rw-r--r-- | src/session.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.hpp b/src/session.hpp index 1b7b8db..070a8d4 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -35,6 +35,9 @@ class CSession { bool write(eFormatType type, std::format_string<Args...> fmt, Args &&...args); void writeChat(const CChatManager::SMessage &msg); + bool isMuted() const; + void setMuted(bool mute); + void run(); bool isValid(); @@ -57,6 +60,7 @@ class CSession { bool m_isAdmin = false; bool m_isReading = false; + bool m_isMuted = false; void recvLoop(); bool registerSession(); |
