fix streaming

This commit is contained in:
ThatOneCalculator 2022-08-09 01:52:32 -07:00
parent d50ad16ac8
commit 0cdd5c2241
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "misskey", "name": "misskey",
"version": "12.118.1-calc.rc.5.1", "version": "12.118.1-calc.rc.6",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -30,7 +30,7 @@ export default class extends Channel {
// フォローしているチャンネルの投稿 の場合だけ // フォローしているチャンネルの投稿 の場合だけ
const meta = await fetchMeta(); const meta = await fetchMeta();
if (!( if (!(
((note.user.host == null || meta.recommendedInstances.includes(note.user.host)) && note.visibility === 'public') ((note.user.host != null && meta.recommendedInstances.includes(note.user.host)) && note.visibility === 'public')
)) return; )) return;
// Ignore notes from instances the user has muted // Ignore notes from instances the user has muted