Skip to content

Commit

Permalink
fix image urls
Browse files Browse the repository at this point in the history
  • Loading branch information
FoseFx committed Nov 2, 2023
1 parent 17cfdd2 commit b14d7aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/app/src/main/java/bttv/emote/Emote.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public static Emote fromJson(JSONObject jsonObject, Emotes.Source source) throws
code = data.getString("name");

JSONObject hostObj = data.getJSONObject("host");
StringBuilder urlBuilder = new StringBuilder(hostObj.getString("url"));
StringBuilder urlBuilder = new StringBuilder("https:"); // for some godforsaken reason this part is missing
urlBuilder.append(hostObj.getString("url"));
urlBuilder.append('/');

JSONArray files = hostObj.getJSONArray("files");
Expand Down

0 comments on commit b14d7aa

Please sign in to comment.