aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/MessagesServiceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/service/MessagesServiceImpl.java')
-rw-r--r--src/main/java/com/juick/service/MessagesServiceImpl.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java
index e54c23cb..130779af 100644
--- a/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -878,7 +878,10 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
if (replies.size() > 0 && !user.isAnonymous()) {
setRead(user, mid);
}
- replies.forEach(i -> i.setEntities(MessageUtils.getEntities(i)));
+ replies.forEach(i -> {
+ i.setEntities(MessageUtils.getEntities(i));
+ i.getUser().setAvatar(webApp.getAvatarWebPath(i.getUser()));
+ });
return replies;
}