aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-11 23:18:16 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-11 23:18:16 +0200
commit8a82586d5bfbdfa5fdefe0bf1b0538a405a0f871 (patch)
tree2ef41d6f468d0807c991b19672632c9d6e8e75ed /src/eu/siacs/conversations/entities
parentf247abc2dc1aa7d19c8cd616f4654fc3a8d8109d (diff)
fixed avatar in notification
Diffstat (limited to 'src/eu/siacs/conversations/entities')
-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 {