Cleanup logs

This commit is contained in:
Andrew 2024-02-19 09:37:53 +10:30
parent 398b5bf7b4
commit ef50d63410
2 changed files with 0 additions and 6 deletions

View File

@ -253,8 +253,6 @@ public class SmsDatabase extends MessagingDatabase {
@Override @Override
public void markExpireStarted(long id, long startedAtTimestamp) { public void markExpireStarted(long id, long startedAtTimestamp) {
Log.d(TAG, "markExpireStarted() called with: id = [" + id + "], startedAtTimestamp = [" + startedAtTimestamp + "]");
ContentValues contentValues = new ContentValues(); ContentValues contentValues = new ContentValues();
contentValues.put(EXPIRE_STARTED, startedAtTimestamp); contentValues.put(EXPIRE_STARTED, startedAtTimestamp);

View File

@ -65,8 +65,6 @@ internal fun MessageReceiver.isBlocked(publicKey: String): Boolean {
} }
fun MessageReceiver.handle(message: Message, proto: SignalServiceProtos.Content, threadId: Long, openGroupID: String?) { 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 // Do nothing if the message was outdated
if (MessageReceiver.messageIsOutdated(message, threadId, openGroupID)) { return } if (MessageReceiver.messageIsOutdated(message, threadId, openGroupID)) { return }
@ -290,8 +288,6 @@ fun MessageReceiver.handleVisibleMessage(
runThreadUpdate: Boolean, runThreadUpdate: Boolean,
runProfileUpdate: Boolean runProfileUpdate: Boolean
): Long? { ): 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 storage = MessagingModuleConfiguration.shared.storage
val context = MessagingModuleConfiguration.shared.context val context = MessagingModuleConfiguration.shared.context
val userPublicKey = storage.getUserPublicKey() val userPublicKey = storage.getUserPublicKey()