Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2019-02-15 08:40:25 +09:00
commit 1d44665cd7
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}, },

View file

@ -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;