console log
This commit is contained in:
parent
8d1144cda0
commit
261e00fcde
|
@ -26,6 +26,7 @@ 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;
|
||||||
|
|
Loading…
Reference in New Issue