aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities/Contact.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/entities/Contact.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/Contact.java b/src/eu/siacs/conversations/entities/Contact.java
index db120200..47a3a0d7 100644
--- a/src/eu/siacs/conversations/entities/Contact.java
+++ b/src/eu/siacs/conversations/entities/Contact.java
@@ -321,7 +321,7 @@ public class Contact implements ListItem {
@Override
public Bitmap getImage(int size, Context context) {
if (this.avatar!=null) {
- Bitmap bm = BitmapFactory.decodeFile(FileBackend.getAvatarPath(context, avatar));
+ Bitmap bm = FileBackend.getAvatar(avatar, size, context);
if (bm==null) {
return UIHelper.getContactPicture(this, size, context, false);
} else {