remove console log

This commit is contained in:
ThatOneCalculator 2022-07-29 00:44:17 -07:00
parent 261e00fcde
commit bcc219566d
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@
- Personal notes for all accounts - Personal notes for all accounts
- Non-nyaify cat mode - Non-nyaify cat mode
- Timeline filters - Timeline filters
- "Bubble" timeline
- Filter notifications by user - Filter notifications by user
- Build flag to remove NSFW/AI stuff - Build flag to remove NSFW/AI stuff
- [Rat mode?](https://stop.voring.me/notes/933fx97bmd) - [Rat mode?](https://stop.voring.me/notes/933fx97bmd)
@ -33,6 +32,7 @@
- Yarn 3 - Yarn 3
- Saner defaults - Saner defaults
- Recommended instances timeline
- Star as default reaction - Star as default reaction
- Recommended Instances timeline - Recommended Instances timeline
- Rosé Pine by default (+ non-themable elements made Rosé Pine) - Rosé Pine by default (+ non-themable elements made Rosé Pine)

View File

@ -26,7 +26,6 @@ export default class extends Channel {
private async onNote(note: Packed<'Note'>) { private async onNote(note: Packed<'Note'>) {
const meta = await fetchMeta(); const meta = await fetchMeta();
console.log(`\n\n\n${meta.recommendedInstances}\n${note.user.host}\n\n\n`);
if (note.user.host !== null && !meta.recommendedInstances.includes(note.user.host)) return; if (note.user.host !== null && !meta.recommendedInstances.includes(note.user.host)) return;
if (note.visibility !== 'public') return; if (note.visibility !== 'public') return;
if (note.channelId != null && !this.followingChannels.has(note.channelId)) return; if (note.channelId != null && !this.followingChannels.has(note.channelId)) return;