From 10daef324b7cae48c7f0238cebd3a32b2146c683 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 17 Sep 2025 15:00:38 +0200 Subject: [PATCH] add authorVerifiedChecker3000!!!!!!!! --- html/channel.ejs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index 76d6c6f1..58ba23ce 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -684,9 +684,18 @@ height: 100%; " class="avatar"> " alt="Channel Avatar" style="border: 1px solid gray;border-radius: 50%;"> - - - <% if (tj.videos && tj.videos.length > 0 && tj.videos[0].authorVerified) { %> + + + <% + function authorVerifiedChecker3000() { + if (tj?.videos && tj.videos.length > 0 && tj.videos[0].authorVerified) return true; + if (shorts?.videos && shorts.videos.length > 0 && shorts.videos[0].authorVerified) return true; + if (stream?.videos && stream.videos.length > 0 && stream.videos[0].authorVerified) return true; + return false; + } +%> + +<% if (authorVerifiedChecker3000()) { %>