We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fae45f4 commit c32fe2eCopy full SHA for c32fe2e
extensions/twitter/src/main/java/app/revanced/twitter/patches/hook/twifucker/TwiFucker.kt
@@ -71,7 +71,7 @@ internal object TwiFucker {
71
?.optJSONObject("tweet")
72
?.has("promotedMetadata") == true || optJSONObject("content")?.optJSONObject("content")
73
?.has("tweetPromotedMetadata") == true || optJSONObject("item")?.optJSONObject("content")
74
- ?.has("tweetPromotedMetadata") == true
+ ?.has("tweetPromotedMetadata") == true || optJSONObject("content")?.optJSONObject("content")?.optString("__typename")?.startsWith("TimelineRtbImageAd") == true
75
76
private fun JSONObject.entryGetContentItems(): JSONArray? =
77
optJSONObject("content")?.optJSONArray("items")
0 commit comments