From a030230ffe014b5c3169d42dcb740b673a3c2e35 Mon Sep 17 00:00:00 2001 From: miko <34790748+keikari@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:59:42 +0200 Subject: [PATCH] Don't add `c:scheduled-livestream` tag to scheduled file/post uploads (#3038) Co-authored-by: miko --- ui/util/publish.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/util/publish.js b/ui/util/publish.js index 268799d397..c8c3ab31d7 100644 --- a/ui/util/publish.js +++ b/ui/util/publish.js @@ -288,10 +288,11 @@ const PAYLOAD = { }, scheduledLivestream: (tagSet: Set, publishData: UpdatePublishState, releaseTime, nowTime) => { - const { liveCreateType, liveEditType } = publishData; + const { type, liveCreateType, liveEditType } = publishData; const isPlaceholderClaim = - liveCreateType === 'new_placeholder' || - (liveCreateType === 'edit_placeholder' && liveEditType === 'update_only'); + type === 'livestream' && + (liveCreateType === 'new_placeholder' || + (liveCreateType === 'edit_placeholder' && liveEditType === 'update_only')); if (isPlaceholderClaim && releaseTime && releaseTime > nowTime) { // Add internal scheduled tag if claim is a livestream and is being scheduled in the future.