fix: remove deprecated Application::getTwitchAbstract (#5560)

This commit is contained in:
pajlada
2024-08-25 13:38:57 +02:00
committed by GitHub
parent 3e510fd9e9
commit ac88730563
21 changed files with 45 additions and 69 deletions
+2 -3
View File
@@ -668,8 +668,7 @@ IndirectChannel WindowManager::decodeChannel(const SplitDescriptor &descriptor)
if (descriptor.type_ == "twitch")
{
return getApp()->getTwitchAbstract()->getOrAddChannel(
descriptor.channelName_);
return getApp()->getTwitch()->getOrAddChannel(descriptor.channelName_);
}
else if (descriptor.type_ == "mentions")
{
@@ -693,7 +692,7 @@ IndirectChannel WindowManager::decodeChannel(const SplitDescriptor &descriptor)
}
else if (descriptor.type_ == "misc")
{
return getApp()->getTwitchAbstract()->getChannelOrEmpty(
return getApp()->getTwitch()->getChannelOrEmpty(
descriptor.channelName_);
}