mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
console log
This commit is contained in:
parent
20608d9b55
commit
d15a3c6dde
@ -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 New Issue
Block a user