fix(Twitter - Hide recommended users): Make hiding work again by filtering for new entryId prefix (#4456)

This commit is contained in:
Jakub Blažej 2025-04-02 00:31:02 +02:00 committed by GitHub
parent 8e16483229
commit ff846b0b7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,7 +163,7 @@ internal object TwiFucker {
private fun JSONObject.entryIsWhoToFollow(): Boolean =
optString("entryId").let {
it.startsWith("whoToFollow-") || it.startsWith("who-to-follow-") || it.startsWith("connect-module-")
it.startsWith("whoToFollow-") || it.startsWith("who-to-follow-") || it.startsWith("connect-module-") || it.startsWith("who-to-subscribe-")
}
private fun JSONObject.itemContainsPromotedUser(): Boolean =