fix: いろいろ

This commit is contained in:
mattyatea 2023-09-03 21:18:50 +09:00
parent 70c8f8f3a6
commit c4af6fb51b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class HybridAllTimelineChannel extends Channel {
@bindThis @bindThis
private async onNote(note: Packed<'Note'>) { private async onNote(note: Packed<'Note'>) {
if (note.user.host !== null) return; if (note.user.host !== null) return;
if (!['public', 'home'].includes(note.visibility)) return; if (note.visibility !== "home") return;
if (note.channelId != null && !this.followingChannels.has(note.channelId)) return; if (note.channelId != null && !this.followingChannels.has(note.channelId)) return;
// リプライなら再pack // リプライなら再pack