diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-13 15:40:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-20 23:44:59 +0800 |
| commit | bb0d8d663975c49aefa69157e14ecf8971acfe29 (patch) | |
| tree | 88db048272e24d261a8c9972bc4d26e94b597c60 | |
| parent | 958b11325a7d559f47f82c27b0519471775c7c6d (diff) | |
session: read also include name of self
| -rw-r--r-- | src/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp index 5a3b03b..a990e08 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -58,7 +58,7 @@ void CSession::onSend(const std::string &msg) { void CSession::recvLoop() { while (true) { - SRecvData recvData = read(); + SRecvData recvData = read(NFormatter::fmt(NONE, "{}: ", m_name)); if (!recvData.good) break; |
