WIP notification settings, doesn't actually work

This commit is contained in:
apa420
2018-08-09 15:41:03 +02:00
parent 7a9af4ae84
commit b68c7ded5f
11 changed files with 230 additions and 3 deletions
+3
View File
@@ -391,6 +391,9 @@ Outcome TwitchChannel::parseLiveStatus(const rapidjson::Document &document)
{
auto status = this->streamStatus_.access();
if (!status->live /*&&*/) {
// notifcation send
}
status->live = true;
status->viewerCount = stream["viewers"].GetUint();
status->game = stream["game"].GetString();