Fix issue where link previews wouldn't finish if we couldn't fetch the thumbnail.

fork-5.53.8
Greyson Parrelli 2022-09-22 11:41:39 -04:00 zatwierdzone przez Cody Henthorne
rodzic 11b1c9655c
commit 8ca94eb3d5
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -185,6 +185,7 @@ public class LinkPreviewRepository {
try {
Response response = call.execute();
if (!response.isSuccessful() || response.body() == null) {
callback.accept(Optional.empty());
return;
}