forked from j62/ctbrec
1
0
Fork 0

Fix loading of live thumbnails in the search popup

This commit is contained in:
0xb00bface 2021-03-27 18:43:13 +01:00
parent 719ac7d0b3
commit f57f36de05
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ public class BongaCams extends AbstractSite {
JSONObject result = results.getJSONObject(i); JSONObject result = results.getJSONObject(i);
if(result.has("username")) { if(result.has("username")) {
Model model = createModel(result.getString("username")); Model model = createModel(result.getString("username"));
String thumb = result.getString("thumb_image"); String thumb = result.getString("thumb_image").replace("{ext}", "jpg");
if(thumb != null) { if(thumb != null) {
model.setPreview("https:" + thumb); model.setPreview("https:" + thumb);
} }