fix: #7893, check private upload setting

This commit is contained in:
Barış Soner Uşaklı
2019-09-10 18:01:37 -04:00
parent 77cb4b55cb
commit 0843497dd4
3 changed files with 3 additions and 1 deletions

View File

@@ -301,7 +301,7 @@ define('forum/topic/posts', [
}
function handlePrivateUploads(posts) {
if (app.user.uid) {
if (app.user.uid || !ajaxify.data.privateUploads) {
return;
}