fix: modify a conditional statement in appendTweet function.