Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
Signed-off-by: Dev4Mod <[email protected]>
  • Loading branch information
Dev4Mod committed Jan 20, 2025
1 parent b2f93ad commit b9aee54
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ public void doHook() throws Exception {
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
if (!ReflectionUtils.isCalledFromMethod(method2) && !ReflectionUtils.isCalledFromMethod(mInChat))
return;
logDebug("HideReceipt 1:" + ReflectionUtils.isCalledFromMethod(method2));
logDebug("HideReceipt 2:" + ReflectionUtils.isCalledFromMethod(mInChat));
var messageKey = new FMessageWpp.Key(param.args[3]);
var userJid = messageKey.remoteJid;
var rawJid = WppCore.getRawString(userJid);
Expand All @@ -46,7 +44,6 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
var customHideRead = privacy.optBoolean("HideSeen", hideread);
if (param.args[4] != "sender" && (customHideReceipt || ghostmode)) {
if (!ReflectionUtils.isCalledFromMethod(method2) && ReflectionUtils.isCalledFromMethod(mInChat) && !customHideRead) {
log("Called from In Chat");
return;
}
param.args[4] = "inactive";
Expand Down

0 comments on commit b9aee54

Please sign in to comment.