aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-06-29 02:11:54 +0300
committerGravatar Vitaly Takmazov2022-06-29 02:11:54 +0300
commitab218910762661158007903bb6f8def6408f6e4e (patch)
treebbe04b08e70f7f96bae0b27180124fab8106aa94 /src/main/java/com
parent4dd8d7cdc8fa783b19b481057b1e009084708e22 (diff)
Use full URL for avatars in replies
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/juick/service/MessagesServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java
index 130779af..17e74123 100644
--- a/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -880,7 +880,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
}
replies.forEach(i -> {
i.setEntities(MessageUtils.getEntities(i));
- i.getUser().setAvatar(webApp.getAvatarWebPath(i.getUser()));
+ i.getUser().setAvatar(webApp.getAvatarUrl(i.getUser()));
});
return replies;
}