diff options
author | Vitaly Takmazov | 2022-06-29 02:11:54 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-06-29 02:11:54 +0300 |
commit | ab218910762661158007903bb6f8def6408f6e4e (patch) | |
tree | bbe04b08e70f7f96bae0b27180124fab8106aa94 /src/main/java/com/juick/service | |
parent | 4dd8d7cdc8fa783b19b481057b1e009084708e22 (diff) |
Use full URL for avatars in replies
Diffstat (limited to 'src/main/java/com/juick/service')
-rw-r--r-- | src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
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; } |