mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-02-22 01:23:09 -05:00
The mention all button works as espected when someone replies to a retweet
This commit is contained in:
parent
a7ef572d05
commit
6d1cd0b1fc
@ -64,7 +64,6 @@ def is_geocoded(tweet):
|
|||||||
|
|
||||||
def get_all_mentioned(tweet, config):
|
def get_all_mentioned(tweet, config):
|
||||||
""" Gets all users that has been mentioned."""
|
""" Gets all users that has been mentioned."""
|
||||||
if tweet.has_key("retweeted_status"): tweet = tweet["retweeted_status"]
|
|
||||||
string = []
|
string = []
|
||||||
for i in tweet["entities"]["user_mentions"]:
|
for i in tweet["entities"]["user_mentions"]:
|
||||||
if i["screen_name"] != config.settings["user_name"] and i["screen_name"] != tweet["user"]["screen_name"]:
|
if i["screen_name"] != config.settings["user_name"] and i["screen_name"] != tweet["user"]["screen_name"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user