From ab218910762661158007903bb6f8def6408f6e4e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 29 Jun 2022 02:11:54 +0300 Subject: Use full URL for avatars in replies --- src/main/java/com/juick/service/MessagesServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick') 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; } -- cgit v1.2.3