Disable ads on cheapest tier
This commit is contained in:
1 parent
bc496c3998
commit
e102c55667
4 files changed
+63
-52
No files matched your search
@@ -107,7 +107,8 @@ func (wc *WebController) serveFileViewer(w http.ResponseWriter, r *http.Request,
|
||||
}
|
||||
|
||||
showAds := true
|
||||
if (templateData.Authenticated && templateData.User.Subscription.DisableAdDisplay) || finfo[0].ShowAds == false {
|
||||
if finfo[0].ShowAds == false ||
|
||||
(templateData.Authenticated && templateData.User.Subscription.DisableAdDisplay) {
|
||||
showAds = false
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user