mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Remove restriction on Go To Message on system messages from search (#4614)
* Remove restriction on go to message on system messages Fixes #4608 * changelog * Change the changelog entry from a bugfix to minor --------- Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
1aedd4d668
commit
168f346c81
|
@ -18,6 +18,7 @@
|
|||
- Minor: 7TV badges now automatically update upon changing. (#4512)
|
||||
- Minor: Stream status requests are now batched. (#4713)
|
||||
- Minor: Added `/c2-theme-autoreload` command to automatically reload a custom theme. This is useful for when you're developing your own theme. (#4718)
|
||||
- Minor: Remove restriction on Go To Message on system messages from search. (#4614)
|
||||
- Minor: Highlights loaded from message history will now correctly appear in the /mentions tab. (#4475)
|
||||
- Minor: All channels opened in browser tabs are synced when using the extension for quicker switching between tabs. (#4741)
|
||||
- Minor: Show channel point redemptions without messages in usercard. (#4557)
|
||||
|
|
|
@ -2678,7 +2678,9 @@ bool ChannelView::mayContainMessage(const MessagePtr &message)
|
|||
case Channel::Type::Twitch:
|
||||
case Channel::Type::TwitchWatching:
|
||||
case Channel::Type::Irc:
|
||||
return this->channel()->getName() == message->channelName;
|
||||
// XXX: system messages may not have the channel set
|
||||
return message->flags.has(MessageFlag::System) ||
|
||||
this->channel()->getName() == message->channelName;
|
||||
case Channel::Type::TwitchWhispers:
|
||||
return message->flags.has(MessageFlag::Whisper);
|
||||
case Channel::Type::TwitchMentions:
|
||||
|
|
Loading…
Reference in a new issue