refactor(notifications): remove platform specifier (#5914)
This commit is contained in:
@@ -187,7 +187,7 @@ QString debugTest(const CommandContext &ctx)
|
||||
auto title = ctx.twitchChannel->accessStreamStatus()->title;
|
||||
|
||||
getApp()->getToasts()->sendChannelNotification(
|
||||
ctx.twitchChannel->getName(), title, Platform::Twitch);
|
||||
ctx.twitchChannel->getName(), title);
|
||||
ctx.channel->addSystemMessage(
|
||||
QString("debug-test sent desktop notification"));
|
||||
}
|
||||
|
||||
@@ -122,8 +122,8 @@ void NotificationController::notifyTwitchChannelLive(
|
||||
{
|
||||
if (Toasts::isEnabled())
|
||||
{
|
||||
getApp()->getToasts()->sendChannelNotification(
|
||||
payload.channelName, payload.title, Platform::Twitch);
|
||||
getApp()->getToasts()->sendChannelNotification(payload.channelName,
|
||||
payload.title);
|
||||
}
|
||||
if (getSettings()->notificationPlaySound)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user