mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 12:07:07 +03:00
Merge pull request #132 from ajayyy/experimental
Made report by submitter work for VIPs
This commit is contained in:
@@ -17,10 +17,10 @@ function getVoteAuthorRaw(submissionCount, isVIP, isOwnSubmission) {
|
|||||||
function getVoteAuthor(submissionCount, isVIP, isOwnSubmission) {
|
function getVoteAuthor(submissionCount, isVIP, isOwnSubmission) {
|
||||||
if (submissionCount === 0) {
|
if (submissionCount === 0) {
|
||||||
return "Report by New User";
|
return "Report by New User";
|
||||||
} else if (isVIP) {
|
|
||||||
return "Report by VIP User";
|
|
||||||
} else if (isOwnSubmission) {
|
} else if (isOwnSubmission) {
|
||||||
return "Report by Submitter";
|
return "Report by Submitter";
|
||||||
|
} else if (isVIP) {
|
||||||
|
return "Report by VIP User";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
Reference in New Issue
Block a user