Skip to content

Commit acd223a

Browse files
committed
Fix goodgame emoticon parsing
1 parent a5e3bf5 commit acd223a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/failchat/goodgame/GgApiClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class GgApiClient(
107107
ggId = id
108108
)
109109

110-
if (node.get("animated").asText() == "1") { // "1" for animated, "" for static
110+
if (node.get("animated").booleanValue()) {
111111
emoticon.animatedInstance = GgEmoticon(
112112
code = code,
113113
url = node.get("img_gif").asText(),

0 commit comments

Comments
 (0)