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