mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
filter out replies
This commit is contained in:
parent
a3ad9375bf
commit
f0e6458e4a
1 changed files with 4 additions and 1 deletions
|
|
@ -179,7 +179,10 @@ export class NitterHandler extends ContentHandler {
|
|||
}
|
||||
|
||||
const tweet = parseTweet(item)
|
||||
tweet && tweets.push(tweet)
|
||||
// filter out replies
|
||||
if (tweet && tweet.author.username === username) {
|
||||
tweets.push(tweet)
|
||||
}
|
||||
}
|
||||
|
||||
return tweets
|
||||
|
|
|
|||
Loading…
Reference in a new issue