forked from mirror/misskey
Hide localOnly from welcome TL (#4257)
This commit is contained in:
parent
b383427d3d
commit
e4f799bf1d
@ -76,6 +76,7 @@ export default Vue.extend({
|
|||||||
if (note.replyId != null) return;
|
if (note.replyId != null) return;
|
||||||
if (note.renoteId != null) return;
|
if (note.renoteId != null) return;
|
||||||
if (note.poll != null) return;
|
if (note.poll != null) return;
|
||||||
|
if (note.localOnly) return;
|
||||||
|
|
||||||
this.notes.unshift(note);
|
this.notes.unshift(note);
|
||||||
},
|
},
|
||||||
|
@ -80,7 +80,8 @@ export default define(meta, (ps) => new Promise(async (res, rej) => {
|
|||||||
};
|
};
|
||||||
const query = {
|
const query = {
|
||||||
deletedAt: null,
|
deletedAt: null,
|
||||||
visibility: 'public'
|
visibility: 'public',
|
||||||
|
localOnly: { $ne: true },
|
||||||
} as any;
|
} as any;
|
||||||
if (ps.sinceId) {
|
if (ps.sinceId) {
|
||||||
sort._id = 1;
|
sort._id = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user