summaryrefslogtreecommitdiff
path: root/src/session.hpp
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-04-07 16:42:48 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-04-07 16:42:48 +0800
commitcfb29cfd831b8c44112dd15c821ce235e78beb2e (patch)
treeb51a6a3e128952c9c1dffa1e4a0729c9defe090c /src/session.hpp
parentdb9ac114621d4ae436e2f5b9d5f6ad556c1fcd80 (diff)
internal(session::writeChat): also be bool, returns write()'s bool
Diffstat (limited to 'src/session.hpp')
-rw-r--r--src/session.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.hpp b/src/session.hpp
index 65bef68..1669964 100644
--- a/src/session.hpp
+++ b/src/session.hpp
@@ -33,7 +33,7 @@ class CSession {
bool write(std::format_string<Args...> fmt, Args &&...args);
template <typename... Args>
bool write(eFormatType type, std::format_string<Args...> fmt, Args &&...args);
- void writeChat(const CChatManager::SMessage &msg);
+ bool writeChat(const CChatManager::SMessage &msg);
bool isMuted() const;
void setMuted(bool mute);