diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/persistance/FileBackend.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/persistance/FileBackend.java b/src/main/java/de/pixart/messenger/persistance/FileBackend.java index e2d339841..6623aeb00 100644 --- a/src/main/java/de/pixart/messenger/persistance/FileBackend.java +++ b/src/main/java/de/pixart/messenger/persistance/FileBackend.java @@ -262,11 +262,11 @@ public class FileBackend { } public boolean useFileAsIs(Uri uri) { - String path = getOriginalPath(uri); + String path = uri.getPath(); if (path == null) { return false; } - if (path.contains(getConversationsDirectory("null"))) { + if (path.contains(getDirectoryName("null"))) { Log.d(Config.LOGTAG, "File " + path + " is in our directory, sending as is"); return true; } |