Skip to content

Commit

Permalink
remove isFollowed from ingestNote
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshthite committed Jun 6, 2024
1 parent fce66f0 commit 16e1a03
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions db.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,6 @@ export class ActivityPubDB extends EventTarget {
}

async ingestNote (note) {
const isFollowed = await this.isActorFollowed(note.attributedTo)
if (!isFollowed) {
console.log('Skipping note ingestion as actor is not followed.')
return
}

console.log('Ingesting note', note)
// Convert needed fields to date
note.published = new Date(note.published)
Expand Down

0 comments on commit 16e1a03

Please sign in to comment.