aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-01 23:01:22 +0300
committerGravatar Vitaly Takmazov2016-12-01 23:01:22 +0300
commit8b29dc19a288cf50246af0a3834d45e07da51642 (patch)
treee5cd5f6e7611d002fd5809c3138dbe39f6602583 /juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
parentbdd36eb9858d0dccd94827de55e36767095be048 (diff)
juick-core: fix replies serialization
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
index bd044866..537219d6 100644
--- a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -60,7 +60,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
msg.ReadOnly = rs.getBoolean(9);
msg.setPrivacy(rs.getInt(10));
msg.FriendsOnly = msg.getPrivacy() < 0;
- msg.Replies = rs.getInt(11);
+ msg.setReplies(rs.getInt(11));
msg.setAttachmentType(rs.getString(12));
if (rs.getDouble(13) != 0) {
msg.Place = new com.juick.Place();