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
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -95,6 +95,11 @@ void LoggingChannel::addMessage(MessagePtr message)
}
QString str;
if (channelName.startsWith("/mentions"))
{
str.append("#" + message->channelName + " ");
}
str.append('[');
str.append(now.toString("HH:mm:ss"));
str.append("] ");