From 27cb681ba71547e0c7126ae82958287bf4fcc62b Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Wed, 10 May 2023 00:14:44 +0200 Subject: [PATCH 1/2] Add 'joined channel' system message. --- src/providers/twitch/IrcMessageHandler.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/providers/twitch/IrcMessageHandler.cpp b/src/providers/twitch/IrcMessageHandler.cpp index 43fa8d49cc5..ce2752bf997 100644 --- a/src/providers/twitch/IrcMessageHandler.cpp +++ b/src/providers/twitch/IrcMessageHandler.cpp @@ -1145,9 +1145,12 @@ void IrcMessageHandler::handleJoinMessage(Communi::IrcMessage *message) return; } - if (message->nick() != - getApp()->accounts->twitch.getCurrent()->getUserName() && - getSettings()->showJoins.getValue()) + if (message->nick() == + getApp()->accounts->twitch.getCurrent()->getUserName()) + { + twitchChannel->addMessage(makeSystemMessage("joined channel")); + } + else if (getSettings()->showJoins.getValue()) { twitchChannel->addJoinedUser(message->nick()); } From e9b28044281141999a2a794791ae1f9475b44f36 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Wed, 10 May 2023 00:23:41 +0200 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f7defb8af7..bb3caabc950 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Minor: Added a Send button in the input box so you can click to send a message. This is disabled by default and can be enabled with the "Show send message button" setting. (#4607) - Minor: Improved error messages when the updater fails a download. (#4594) - Minor: Added `/shield` and `/shieldoff` commands to toggle shield mode. (#4580) +- Minor: Added a message for when Chatterino joins a channel (#4616) - Bugfix: Fixed the menu warping on macOS on Qt6. (#4595) - Bugfix: Fixed link tooltips not showing unless the thumbnail setting was enabled. (#4597) - Bugfix: Domains starting with `http` are now parsed as links again. (#4598)