diff options
Diffstat (limited to 'src/main/java/com/juick/server/XMPPConnection.java')
-rw-r--r-- | src/main/java/com/juick/server/XMPPConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/XMPPConnection.java b/src/main/java/com/juick/server/XMPPConnection.java index 74e281c9..444e2512 100644 --- a/src/main/java/com/juick/server/XMPPConnection.java +++ b/src/main/java/com/juick/server/XMPPConnection.java @@ -173,7 +173,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener { userVCard.setFormattedName(info.getFullName()); userVCard.setNickname(user.getName()); try { - userVCard.setPhoto(new VCard.Image(URI.create(webApp.getAvatarPublicUrl(user)))); + userVCard.setPhoto(new VCard.Image(URI.create(webApp.getAvatarWebPath(user)))); if (info.getUrl() != null) { userVCard.setUrl(new URL(info.getUrl())); } |