aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-06-25 08:33:55 +0300
committerGravatar Vitaly Takmazov2022-06-25 08:33:55 +0300
commit7692b9f126de590d8d1db3e4bed2b4c9c1345e25 (patch)
tree019b570e5d01a639c3b37b8c2779576ba397235a /src/main/java/com/juick/service
parent0e99af4f3a5e7c3941750de4709f69337f9f7d0f (diff)
`likes` field returns recommendations count
Diffstat (limited to 'src/main/java/com/juick/service')
-rw-r--r--src/main/java/com/juick/service/MessagesServiceImpl.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java
index 77200077..e54c23cb 100644
--- a/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -92,7 +92,6 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
msg.FriendsOnly = msg.getPrivacy() < 0;
msg.setReplies(rs.getInt(10));
msg.setAttachmentType(rs.getString(11));
- msg.setLikes(rs.getInt(12));
msg.Hidden = rs.getBoolean(13);
String tagsStr = StringUtils.defaultString(rs.getString(14));
msg.setTags(MessageUtils.parseTags(tagsStr));