feat: add channel for messages caught by AutoMod (#4986)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -134,7 +134,9 @@ void SearchPopup::goToMessage(const MessagePtr &message)
|
||||
{
|
||||
for (const auto &view : this->searchChannels_)
|
||||
{
|
||||
if (view.get().channel()->getType() == Channel::Type::TwitchMentions)
|
||||
const auto type = view.get().channel()->getType();
|
||||
if (type == Channel::Type::TwitchMentions ||
|
||||
type == Channel::Type::TwitchAutomod)
|
||||
{
|
||||
getApp()->windows->scrollToMessage(message);
|
||||
return;
|
||||
@@ -166,6 +168,10 @@ void SearchPopup::updateWindowTitle()
|
||||
{
|
||||
historyName = "multiple channels'";
|
||||
}
|
||||
else if (this->channelName_ == "/automod")
|
||||
{
|
||||
historyName = "automod";
|
||||
}
|
||||
else if (this->channelName_ == "/mentions")
|
||||
{
|
||||
historyName = "mentions";
|
||||
|
||||
Reference in New Issue
Block a user