From aad34783ad018327ad3ca43e1adda7728a769048 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 22 Mar 2021 19:05:46 +0100 Subject: [PATCH] remove logging from needsUploading() --- src/main/java/eu/siacs/conversations/entities/Message.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java index b2304a768..5b8adb9cf 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -900,9 +900,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable } public boolean needsUploading() { - final boolean needsUploading = isFileOrImage() && getFileParams().url == null; - Log.d(Config.LOGTAG, "needs uploading " + needsUploading + " url=" + getFileParams().url); - return needsUploading; + return isFileOrImage() && getFileParams().url == null; } public static class FileParams {