mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Fix issue where link previews wouldn't finish if we couldn't fetch the thumbnail.
This commit is contained in:
committed by
Cody Henthorne
parent
11b1c9655c
commit
8ca94eb3d5
@@ -185,6 +185,7 @@ public class LinkPreviewRepository {
|
||||
try {
|
||||
Response response = call.execute();
|
||||
if (!response.isSuccessful() || response.body() == null) {
|
||||
callback.accept(Optional.empty());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user