From 9750e7bd477f2ed08ab5dea11c0af28a1538a30f Mon Sep 17 00:00:00 2001 From: Hocuri Date: Fri, 27 Dec 2024 22:29:16 +0100 Subject: [PATCH] Add two TODOs --- .../java/org/thoughtcrime/securesms/attachments/Attachment.java | 1 + src/main/java/org/thoughtcrime/securesms/connect/DcHelper.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/org/thoughtcrime/securesms/attachments/Attachment.java b/src/main/java/org/thoughtcrime/securesms/attachments/Attachment.java index daec88d9c4..e0fb20f265 100644 --- a/src/main/java/org/thoughtcrime/securesms/attachments/Attachment.java +++ b/src/main/java/org/thoughtcrime/securesms/attachments/Attachment.java @@ -101,6 +101,7 @@ public int getHeight() { return height; } + // TODO the following function can prob. be deleted now. Adb may be able to tell me some context why it was introduced. public String getRealPath(Context context) { try { // get file in the blobdir as `/[-].` diff --git a/src/main/java/org/thoughtcrime/securesms/connect/DcHelper.java b/src/main/java/org/thoughtcrime/securesms/connect/DcHelper.java index cf323524e5..a713a06c65 100644 --- a/src/main/java/org/thoughtcrime/securesms/connect/DcHelper.java +++ b/src/main/java/org/thoughtcrime/securesms/connect/DcHelper.java @@ -365,6 +365,7 @@ private static String checkMime(String path, String mimeType) { return mimeType; } + // TODO the following function can prob. be simplified and unified with the next fn now. public static String getBlobdirFile(DcContext dcContext, String filename, String ext) { filename = FileUtils.sanitizeFilename(filename); ext = FileUtils.sanitizeFilename(ext);