feat: add option to suppress live notifications on startup (#5388)
This commit is contained in:
@@ -238,14 +238,6 @@ public:
|
||||
// Only TwitchChannel may invoke this signal
|
||||
pajlada::Signals::NoArgSignal userStateChanged;
|
||||
|
||||
/**
|
||||
* This signals fires whenever the live status is changed
|
||||
*
|
||||
* Streams are counted as offline by default, so if a stream does not go online
|
||||
* this signal will never fire
|
||||
**/
|
||||
pajlada::Signals::Signal<bool> liveStatusChanged;
|
||||
|
||||
/**
|
||||
* This signal fires whenever the stream status is changed
|
||||
*
|
||||
@@ -270,7 +262,8 @@ public:
|
||||
const QString &rewardId) const;
|
||||
|
||||
// Live status
|
||||
void updateStreamStatus(const std::optional<HelixStream> &helixStream);
|
||||
void updateStreamStatus(const std::optional<HelixStream> &helixStream,
|
||||
bool isInitialUpdate);
|
||||
void updateStreamTitle(const QString &title);
|
||||
|
||||
/**
|
||||
@@ -338,6 +331,8 @@ private:
|
||||
void setDisplayName(const QString &name);
|
||||
void setLocalizedName(const QString &name);
|
||||
|
||||
void onLiveStatusChanged(bool isLive, bool isInitialUpdate);
|
||||
|
||||
/**
|
||||
* Returns the localized name of the user
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user