mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-02 09:33:33 +00:00
UI: Fix YT chat being shown when selecting private event
This commit is contained in:
parent
d6f00ccfd7
commit
e2b7597fb0
|
@ -453,9 +453,10 @@ bool OBSYoutubeActions::ChooseAnEventAction(YoutubeApiWrappers *api,
|
|||
json["items"]
|
||||
.array_items()[0]["contentDetails"]["boundStreamId"]
|
||||
.string_value();
|
||||
|
||||
std::string broadcastPrivacy =
|
||||
json["status"]["privacyStatus"].string_value();
|
||||
json["items"]
|
||||
.array_items()[0]["status"]["privacyStatus"]
|
||||
.string_value();
|
||||
|
||||
stream.id = boundStreamId.c_str();
|
||||
if (!stream.id.isEmpty() && apiYouTube->FindStream(stream.id, json)) {
|
||||
|
|
Loading…
Reference in a new issue