This commit is contained in:
Barış Soner Uşaklı
2019-02-28 12:17:17 -05:00
parent e331f6b51d
commit 684175f7d7

View File

@@ -74,7 +74,7 @@ Posts.getPostSummariesFromSet = function (set, uid, start, stop, callback) {
db.getSortedSetRevRange(set, start, stop, next);
},
function (pids, next) {
privileges.posts.filter('read', pids, uid, next);
privileges.posts.filter('topics:read', pids, uid, next);
},
function (pids, next) {
Posts.getPostSummaryByPids(pids, uid, { stripTags: false }, next);