From ef50d63410988eb9185244d3eaa7c90f58c9fc01 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 19 Feb 2024 09:37:53 +1030 Subject: [PATCH] Cleanup logs --- .../java/org/thoughtcrime/securesms/database/SmsDatabase.java | 2 -- .../messaging/sending_receiving/ReceivedMessageHandler.kt | 4 ---- 2 files changed, 6 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/SmsDatabase.java b/app/src/main/java/org/thoughtcrime/securesms/database/SmsDatabase.java index ca1d799788..2c0c33dda8 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/SmsDatabase.java +++ b/app/src/main/java/org/thoughtcrime/securesms/database/SmsDatabase.java @@ -253,8 +253,6 @@ public class SmsDatabase extends MessagingDatabase { @Override public void markExpireStarted(long id, long startedAtTimestamp) { - Log.d(TAG, "markExpireStarted() called with: id = [" + id + "], startedAtTimestamp = [" + startedAtTimestamp + "]"); - ContentValues contentValues = new ContentValues(); contentValues.put(EXPIRE_STARTED, startedAtTimestamp); diff --git a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt index 313ad161e8..06303c9985 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/ReceivedMessageHandler.kt @@ -65,8 +65,6 @@ internal fun MessageReceiver.isBlocked(publicKey: String): Boolean { } fun MessageReceiver.handle(message: Message, proto: SignalServiceProtos.Content, threadId: Long, openGroupID: String?) { - Log.d("MessageReceiver", "handle() called with: message = $message, proto = $proto, threadId = $threadId, openGroupID = $openGroupID") - // Do nothing if the message was outdated if (MessageReceiver.messageIsOutdated(message, threadId, openGroupID)) { return } @@ -290,8 +288,6 @@ fun MessageReceiver.handleVisibleMessage( runThreadUpdate: Boolean, runProfileUpdate: Boolean ): Long? { - Log.d("ReceivedMessageHandler", "handleVisibleMessage() called with: message = $message, proto = $proto, openGroupID = $openGroupID, threadId = $threadId, runThreadUpdate = $runThreadUpdate, runProfileUpdate = $runProfileUpdate") - val storage = MessagingModuleConfiguration.shared.storage val context = MessagingModuleConfiguration.shared.context val userPublicKey = storage.getUserPublicKey()