fix(Twitter - Hide ads): Hide ads in search

This commit is contained in:
oSumAtrIX 2024-02-25 07:11:20 +01:00
parent 381fbc6b7b
commit b40687c5c7
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ internal object TwiFucker {
optJSONObject("user_result")?.optJSONObject("result")
?.optJSONObject("timeline_response")?.optJSONObject("timeline")
?: optJSONObject("timeline_response")?.optJSONObject("timeline")
?: optJSONObject("search")?.optJSONObject("timeline_response")?.optJSONObject("timeline")
?: optJSONObject("timeline_response")
return timeline?.optJSONArray("instructions")
}