mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
console log
This commit is contained in:
parent
20608d9b55
commit
d15a3c6dde
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ export default class extends Channel {
|
|||
|
||||
private async onNote(note: Packed<'Note'>) {
|
||||
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.visibility !== 'public') return;
|
||||
if (note.channelId != null && !this.followingChannels.has(note.channelId)) return;
|
||||
|
|
Loading…
Reference in a new issue