Update WinToast to the latest version available at 2022-06-25 (#3834)

Closes #3817
This commit is contained in:
pajlada
2022-06-25 12:31:54 +02:00
committed by GitHub
parent cdd949efd8
commit 6e0852fb49
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -207,6 +207,8 @@ void Toasts::sendWindowsNotification(const QString &channelName, Platform p)
WinToastLib::WinToast::instance()->setAppUserModelId(
WinToastLib::WinToast::configureAUMI(L"", L"Chatterino 2", L"",
aumi_version));
WinToastLib::WinToast::instance()->setShortcutPolicy(
WinToastLib::WinToast::SHORTCUT_POLICY_IGNORE);
WinToastLib::WinToast::instance()->initialize();
WinToastLib::WinToast::instance()->showToast(
templ, new CustomHandler(channelName, p));