Fix avatars

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-01-13 12:41:38 +01:00
parent d166276b80
commit 5262d08e3c
No known key found for this signature in database
GPG key ID: CDE0BBD2738C4CC0

View file

@ -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<CloseableReference<CloseableImage>> dataSource = imagePipeline.fetchDecodedImage(imageRequest, null);