mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
fix: #7893, check private upload setting
This commit is contained in:
@@ -301,7 +301,7 @@ define('forum/topic/posts', [
|
||||
}
|
||||
|
||||
function handlePrivateUploads(posts) {
|
||||
if (app.user.uid) {
|
||||
if (app.user.uid || !ajaxify.data.privateUploads) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user