From 44b6e821832d2b5cafc15edaddf517ad8a3ec7d6 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 4 Jul 2021 11:50:03 -0500 Subject: [PATCH] Fix reply dialog issue --- src/sessions/twitter/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sessions/twitter/utils.py b/src/sessions/twitter/utils.py index d7bce3e5..24d498b4 100644 --- a/src/sessions/twitter/utils.py +++ b/src/sessions/twitter/utils.py @@ -121,9 +121,9 @@ def get_all_mentioned(tweet, conf, field="screen_name"): """ Gets all users that have been mentioned.""" results = [] if hasattr(tweet, "retweeted_status"): - results.extend(get_all_mentionned(tweet.retweeted_status, conf, field)) + results.extend(get_all_mentioned(tweet.retweeted_status, conf, field)) if hasattr(tweet, "quoted_status"): - results.extend(tweet.quoted_status, conf, field) + results.extend(get_all_mentioned(tweet.quoted_status, conf, field)) if hasattr(tweet, "entities") and tweet.entities.get("user_mentions"): for i in tweet.entities["user_mentions"]: if i["screen_name"] != conf["user_name"] and i["id_str"] != tweet.user: