From cfb29cfd831b8c44112dd15c821ce235e78beb2e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 7 Apr 2025 16:42:48 +0800 Subject: internal(session::writeChat): also be bool, returns write()'s bool --- src/session.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/session.hpp') 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 fmt, Args &&...args); template bool write(eFormatType type, std::format_string fmt, Args &&...args); - void writeChat(const CChatManager::SMessage &msg); + bool writeChat(const CChatManager::SMessage &msg); bool isMuted() const; void setMuted(bool mute); -- cgit v1.2.3