Skip to content

Commit

Permalink
feat(twitter): hide-recommended-users patch
Browse files Browse the repository at this point in the history
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
  • Loading branch information
oSumAtrIX committed Feb 22, 2023
1 parent 6655988 commit 96eea3d
Showing 1 changed file with 15 additions and 0 deletions.
@@ -0,0 +1,15 @@
package app.revanced.twitter.patches.hook.patch.recommendation

import app.revanced.twitter.patches.hook.json.BaseJsonHook
import app.revanced.twitter.patches.hook.twifucker.TwiFucker
import org.json.JSONObject


object RecommendedUsersHook : BaseJsonHook() {
/**
* Strips JSONObject from recommended users.
*
* @param json The JSONObject.
*/
override fun apply(json: JSONObject) = TwiFucker.hideRecommendedUsers(json)
}

0 comments on commit 96eea3d

Please sign in to comment.