forked from j62/ctbrec
Fix loading of live thumbnails in the search popup
This commit is contained in:
parent
719ac7d0b3
commit
f57f36de05
|
@ -163,7 +163,7 @@ public class BongaCams extends AbstractSite {
|
|||
JSONObject result = results.getJSONObject(i);
|
||||
if(result.has("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) {
|
||||
model.setPreview("https:" + thumb);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue