Add channel name to Mentions chat logs (#4371)

This commit is contained in:
askepticaldreamer 2023-02-13 15:00:46 -08:00 committed by GitHub
parent 4cb8403491
commit a3189baf94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -15,6 +15,7 @@
- Minor: Added support for HTTP and Socks5 proxies through environment variables. (#4321) - Minor: Added support for HTTP and Socks5 proxies through environment variables. (#4321)
- Minor: Remove sending part of the multipart emoji workaround (#4361) - Minor: Remove sending part of the multipart emoji workaround (#4361)
- Minor: Added crashpad to capture crashes on Windows locally. See PR for build/crash analysis instructions. (#4351) - Minor: Added crashpad to capture crashes on Windows locally. See PR for build/crash analysis instructions. (#4351)
- Minor: Added channel name to /mentions log entries (#4371)
- Bugfix: Fixed crash that would occur when performing certain actions after removing all tabs. (#4271) - Bugfix: Fixed crash that would occur when performing certain actions after removing all tabs. (#4271)
- Bugfix: Fixed highlight sounds not reloading on change properly. (#4194) - Bugfix: Fixed highlight sounds not reloading on change properly. (#4194)
- Bugfix: Fixed CTRL + C not working in reply thread popups. (#4209) - Bugfix: Fixed CTRL + C not working in reply thread popups. (#4209)

View file

@ -95,6 +95,11 @@ void LoggingChannel::addMessage(MessagePtr message)
} }
QString str; QString str;
if (channelName.startsWith("/mentions"))
{
str.append("#" + message->channelName + " ");
}
str.append('['); str.append('[');
str.append(now.toString("HH:mm:ss")); str.append(now.toString("HH:mm:ss"));
str.append("] "); str.append("] ");