fix: #9383, don't show deleted topic titles in inf scroll

This commit is contained in:
Barış Soner Uşaklı
2021-03-13 22:54:32 -05:00
parent cc489708ee
commit e789fe8d2a
2 changed files with 24 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ SocketCategories.loadMore = async function (socket, data) {
tag: data.query.tag,
targetUid: targetUid,
});
categories.modifyTopicsByPrivilege(data.topics, userPrivileges);
categories.modifyTopicsByPrivilege(result.topics, userPrivileges);
result.privileges = userPrivileges;
result.template = {