From 5262d08e3c8d1174a660b96520a47e6f87dc8591 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Mon, 13 Jan 2020 12:41:38 +0100 Subject: [PATCH] Fix avatars Signed-off-by: Mario Danic --- .../nextcloud/talk/controllers/ConversationsListController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java b/app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java index 0294787a1..782371bd9 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java @@ -208,7 +208,7 @@ public class ConversationsListController extends BaseController implements Searc if (getActivity() != null) { int avatarSize = (int) DisplayUtils.convertDpToPixel(menuItem.getIcon().getIntrinsicHeight(), getActivity()); ImageRequest imageRequest = DisplayUtils.getImageRequestForUrl(ApiUtils.getUrlForAvatarWithNameAndPixels(currentUser.getBaseUrl(), - currentUser.getUserId(), avatarSize), null); + currentUser.getUserId(), avatarSize), currentUser); ImagePipeline imagePipeline = Fresco.getImagePipeline(); DataSource> dataSource = imagePipeline.fetchDecodedImage(imageRequest, null);