From a5e7bb5d6f5efa7d4d3390d4f16eb4684392f0b8 Mon Sep 17 00:00:00 2001 From: evnpr Date: Sun, 11 Sep 2016 15:15:52 +0700 Subject: [PATCH] change payload pusher --- .../main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiscuschatlibs/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java b/qiscuschatlibs/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java index 0509e0d0a..b390767e2 100644 --- a/qiscuschatlibs/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java +++ b/qiscuschatlibs/src/main/java/com/qiscus/sdk/data/remote/QiscusPusherApi.java @@ -246,7 +246,7 @@ public static QiscusComment jsonToComment(JsonObject jsonObject) { qiscusComment.setRoomId(jsonObject.get("room_id").getAsInt()); qiscusComment.setUniqueId(jsonObject.get("unique_temp_id").getAsString()); qiscusComment.setCommentBeforeId(jsonObject.get("comment_before_id").getAsInt()); - qiscusComment.setMessage(jsonObject.get("comment").getAsString()); + qiscusComment.setMessage(jsonObject.get("message").getAsString()); qiscusComment.setSender(jsonObject.get("username").isJsonNull() ? null : jsonObject.get("username").getAsString()); qiscusComment.setSenderEmail(jsonObject.get("email").getAsString()); qiscusComment.setTime(QiscusDateUtil.parseIsoFormat(jsonObject.get("created_at").getAsString()));