diff options
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 4324acca5..dd1c4d5f7 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -2125,3 +2125,10 @@ bool ChatWindow::isTabPresent(const ChatTab *const tab) const { return mChatTabs->isTabPresent(tab); } + +void ChatWindow::debugMessage(const std::string &msg) +{ + logger->log(msg); + if (debugChatTab) + debugChatTab->chatLog(msg, ChatMsgType::BY_SERVER); +} |