From 6d4f8164ac97690a1993981605435cdc6ff097f2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Nov 2018 17:42:39 +0300 Subject: fix web avatar urls --- src/main/java/com/juick/server/www/controllers/MessagesWWW.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick/server/www/controllers') diff --git a/src/main/java/com/juick/server/www/controllers/MessagesWWW.java b/src/main/java/com/juick/server/www/controllers/MessagesWWW.java index ba8e7b66..ad988bcb 100644 --- a/src/main/java/com/juick/server/www/controllers/MessagesWWW.java +++ b/src/main/java/com/juick/server/www/controllers/MessagesWWW.java @@ -551,7 +551,7 @@ public class MessagesWWW { headers += ""; } } else { - String msgImage = webApp.getAvatarPublicUrl(msg.getUser()); + String msgImage = webApp.getAvatarWebPath(msg.getUser()); headers += ""; } model.addAttribute("ogtype", "article"); -- cgit v1.2.3