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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit ce441336ef057576dfb377be754bc5357a04ff85
Subproject commit 5e441fd03543b999edb663caf8df7be37c0d575c

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));