Hide localOnly from welcome TL (#4257)

This commit is contained in:
MeiMei
2019-02-15 08:38:59 +09:00
committed by syuilo
parent b383427d3d
commit e4f799bf1d
2 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,8 @@ export default define(meta, (ps) => new Promise(async (res, rej) => {
};
const query = {
deletedAt: null,
visibility: 'public'
visibility: 'public',
localOnly: { $ne: true },
} as any;
if (ps.sinceId) {
sort._id = 1;