Skip to content

Commit

Permalink
Update ReadChecker.java
Browse files Browse the repository at this point in the history
  • Loading branch information
areteruhiro authored Oct 29, 2024
1 parent a3db6bb commit a217a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/io/github/hiro/lime/hooks/ReadChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
// XposedBridge.log(paramValue);

if (paramValue.contains("type:NOTIFIED_READ_MESSAGE")) {
XposedBridge.log(paramValue);
// XposedBridge.log(paramValue);
// データを取得してデータベースに保存
fetchDataAndSave(db3, db4, paramValue); // db5も渡す
}
Expand All @@ -276,7 +276,7 @@ private void fetchDataAndSave(SQLiteDatabase db3, SQLiteDatabase db4, String pa
String checkedUser = extractCheckedUser(paramValue);

if (serverId == null || groupId == null || checkedUser == null) {
XposedBridge.log("Missing parameters: serverId=" + serverId + ", groupId=" + groupId + ", checkedUser=" + checkedUser);
// XposedBridge.log("Missing parameters: serverId=" + serverId + ", groupId=" + groupId + ", checkedUser=" + checkedUser);
return;
}

Expand Down

0 comments on commit a217a77

Please sign in to comment.