mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
Fix avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
d166276b80
commit
5262d08e3c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue