Commit bde963e7 authored by nanahira's avatar nanahira

Merge branch 'steve' of git.mycard.moe:nanahira/shadowban-eu-backend into steve

parents e4481ce8 5a960e88
......@@ -38,6 +38,7 @@ FeaturesDict = {
"tweetypie_unmention_optimization_enabled": False,
"verified_phone_label_enabled": False,
"responsive_web_twitter_blue_verified_badge_is_enabled": False,
"view_counts_public_visibility_enabled": False,
}
FeaturesJson = json.dumps(FeaturesDict)
......@@ -351,7 +352,7 @@ def searchban(screen_name):
#print(returnjson["tests"]["ghost"])
# No search ban => No ghost ban
if returnjson["tests"]["search"] and "ban" in returnjson["tests"]["ghost"] and returnjson["tests"]["ghost"]["ban"] == True:
if returnjson["tests"]["search"] and returnjson["tests"]["search"] != "_error" and "ban" in returnjson["tests"]["ghost"] and returnjson["tests"]["ghost"]["ban"] == True:
returnjson["tests"]["ghost"]["ban"] = False
# No ghost ban && unknown more replies => No more replies ban
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment