1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-11 07:51:37 +09:00

Remove debugging messages

This commit is contained in:
Chippppp 2024-06-23 12:16:22 +09:00
parent 77907b034a
commit 1a09b6bb30

View File

@ -32,11 +32,8 @@ public class PreventUnsendMessage implements IHook {
if (type.toString().equals("NOTIFIED_DESTROY_MESSAGE")) {
typeField.set(operation, type.getClass().getMethod("valueOf", String.class).invoke(operation, "DUMMY"));
} else if (type.toString().equals("RECEIVE_MESSAGE")) {
XposedBridge.log("RECEIVE_MESSAGE");
Object message = operation.getClass().getDeclaredField("j").get(operation);
XposedBridge.log(message.toString());
Map<String, String> contentMetadata = (Map<String, String>) message.getClass().getDeclaredField("k").get(message);
XposedBridge.log(String.valueOf(contentMetadata));
contentMetadata.remove("UNSENT");
}
}