From 387f99cd94fa6e8cab971689c745cc99c3414cfd Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Mon, 9 Sep 2019 10:49:20 +1000 Subject: [PATCH] Fix link preview image rendering --- src/org/thoughtcrime/securesms/providers/BlobProvider.java | 2 +- src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java | 2 +- src/org/thoughtcrime/securesms/providers/PartProvider.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/thoughtcrime/securesms/providers/BlobProvider.java b/src/org/thoughtcrime/securesms/providers/BlobProvider.java index 9cd428dcfb..b3d9e374f4 100644 --- a/src/org/thoughtcrime/securesms/providers/BlobProvider.java +++ b/src/org/thoughtcrime/securesms/providers/BlobProvider.java @@ -37,7 +37,7 @@ public class BlobProvider { private static final String SINGLE_SESSION_DIRECTORY = "single_session_blobs"; public static final Uri CONTENT_URI = Uri.parse("content://network.loki.provider.securesms/blob"); - public static final String AUTHORITY = "org.thoughtcrime.securesms"; + public static final String AUTHORITY = "network.loki.provider.securesms"; public static final String PATH = "blob/*/*/*/*/*"; private static final int STORAGE_TYPE_PATH_SEGMENT = 1; diff --git a/src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java b/src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java index 22bfcc26a7..03c603e326 100644 --- a/src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java +++ b/src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java @@ -43,7 +43,7 @@ public class MmsBodyProvider extends ContentProvider { static { uriMatcher = new UriMatcher(UriMatcher.NO_MATCH); - uriMatcher.addURI("org.thoughtcrime.provider.securesms.mms", "mms/#", SINGLE_ROW); + uriMatcher.addURI("network.loki.provider.securesms.mms", "mms/#", SINGLE_ROW); } @Override diff --git a/src/org/thoughtcrime/securesms/providers/PartProvider.java b/src/org/thoughtcrime/securesms/providers/PartProvider.java index aae2657edc..7b50c5493f 100644 --- a/src/org/thoughtcrime/securesms/providers/PartProvider.java +++ b/src/org/thoughtcrime/securesms/providers/PartProvider.java @@ -54,7 +54,7 @@ public class PartProvider extends ContentProvider { static { uriMatcher = new UriMatcher(UriMatcher.NO_MATCH); - uriMatcher.addURI("org.thoughtcrime.provider.securesms", "part/*/#", SINGLE_ROW); + uriMatcher.addURI("network.loki.provider.securesms", "part/*/#", SINGLE_ROW); } @Override