mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
refactor bubble-timeline.ts to match global-timeline.ts and local-timeline.ts
This commit is contained in:
parent
5ee7049fad
commit
967f31daa7
1 changed files with 3 additions and 2 deletions
|
@ -53,9 +53,10 @@ class BubbleTimelineChannel extends Channel {
|
||||||
if (this.withFiles && (note.fileIds == null || note.fileIds.length === 0)) return;
|
if (this.withFiles && (note.fileIds == null || note.fileIds.length === 0)) return;
|
||||||
if (!this.withBots && note.user.isBot) return;
|
if (!this.withBots && note.user.isBot) return;
|
||||||
|
|
||||||
if (!(note.user.host != null && this.instance.bubbleInstances.includes(note.user.host) && note.visibility === 'public' )) return;
|
if (note.visibility !== 'public') return;
|
||||||
|
|
||||||
if (note.channelId != null) return;
|
if (note.channelId != null) return;
|
||||||
|
if (note.user.host == null) return;
|
||||||
|
if (!this.instance.bubbleInstances.includes(note.user.host)) return;
|
||||||
|
|
||||||
if (isRenotePacked(note) && !isQuotePacked(note) && !this.withRenotes) return;
|
if (isRenotePacked(note) && !isQuotePacked(note) && !this.withRenotes) return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue