diff --git a/html/channel.ejs b/html/channel.ejs index 7cbf8816..2ddce072 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -1136,9 +1136,20 @@ margin-left: 10px; " alt="Channel Avatar"> + <% +function authorVerifiedChecker4000() { + const sources = [tj, shorts, stream]; + + const hasVerified = (source) => + source?.videos?.[0]?.authorVerified === true; + + return sources.some(hasVerified); +} + +%>

<%=cinv.author%> -<% if (authorVerifiedChecker3000()) { %> +<% if (authorVerifiedChecker4000()) { %>