Skip to content

Commit

Permalink
GrindrPlus: Ability to start video calls on empty chats
Browse files Browse the repository at this point in the history
  • Loading branch information
R0rt1z2 committed Nov 19, 2024
1 parent 918e018 commit 77e86d6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 16 additions & 1 deletion app/src/main/java/com/grindrplus/hooks/EmptyCalls.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
package com.grindrplus.hooks

class EmptyCalls {
import com.grindrplus.utils.Hook
import com.grindrplus.utils.HookStage
import com.grindrplus.utils.hook

class EmptyCalls : Hook(
"Video calls",
"Allow video calls on empty chats"
) {
private val individualChatNavViewModel = "J9.a"

override fun init() {
findClass(individualChatNavViewModel) // isTalkBefore()
.hook("z", HookStage.BEFORE) { param ->
param.setResult(true)
}
}
}
4 changes: 3 additions & 1 deletion app/src/main/java/com/grindrplus/utils/HookManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import com.grindrplus.hooks.ChatTerminal
import com.grindrplus.hooks.DisableAnalytics
import com.grindrplus.hooks.DisableBoosting
import com.grindrplus.hooks.DisableUpdates
import com.grindrplus.hooks.EmptyCalls
import com.grindrplus.hooks.EnableUnlimited
import com.grindrplus.hooks.ExpiringPhotos
import com.grindrplus.hooks.Favorites
Expand Down Expand Up @@ -59,7 +60,8 @@ class HookManager {
SignatureSpoofer(),
UnlimitedTaps(),
UnlimitedAlbums(),
QuickBlock()
QuickBlock(),
EmptyCalls()
)

hookList.forEach { hook ->
Expand Down

0 comments on commit 77e86d6

Please sign in to comment.