kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix issue where link previews wouldn't finish if we couldn't fetch the thumbnail.
rodzic
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;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue