Added stream titles to windows toast notifications (#2044)
Co-authored-by: 23rd <23rd@vivaldi.net> Co-authored-by: David Myers <dave-myers@outlook.com> Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -19,7 +19,8 @@ enum class ToastReaction {
|
||||
class Toasts final : public Singleton
|
||||
{
|
||||
public:
|
||||
void sendChannelNotification(const QString &channelName, Platform p);
|
||||
void sendChannelNotification(const QString &channelName,
|
||||
const QString &channelTitle, Platform p);
|
||||
static QString findStringFromReaction(const ToastReaction &reaction);
|
||||
static QString findStringFromReaction(
|
||||
const pajlada::Settings::Setting<int> &reaction);
|
||||
@@ -29,7 +30,8 @@ public:
|
||||
|
||||
private:
|
||||
#ifdef Q_OS_WIN
|
||||
void sendWindowsNotification(const QString &channelName, Platform p);
|
||||
void sendWindowsNotification(const QString &channelName,
|
||||
const QString &channelTitle, Platform p);
|
||||
#endif
|
||||
};
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user