Fixed user searches

This commit is contained in:
2021-07-04 09:43:53 -05:00
parent 8fe2f4c64d
commit 03b61946f8
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ def is_allowed(tweet, settings, buffer_name):
tweet_data = {}
if hasattr(tweet, "retweeted_status"):
tweet_data["retweet"] = True
if tweet.in_reply_to_status_id != None:
if hasattr(tweet, "in_reply_to_status_id"):
tweet_data["reply"] = True
if hasattr(tweet, "quoted_status"):
tweet_data["quote"] = True