aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/entities
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-11 23:22:46 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-11 23:22:46 +0200
commit5ed9c2a8056a017a2ad401e282d4fb6ac9fb5428 (patch)
tree069f9471db57bdd0a5c2d474788791e656453f91 /src/eu/siacs/conversations/entities
parent8a82586d5bfbdfa5fdefe0bf1b0538a405a0f871 (diff)
show own avatar in muc details
Diffstat (limited to 'src/eu/siacs/conversations/entities')
-rw-r--r--src/eu/siacs/conversations/entities/Account.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/Account.java b/src/eu/siacs/conversations/entities/Account.java
index a35acb8a..b734c6ee 100644
--- a/src/eu/siacs/conversations/entities/Account.java
+++ b/src/eu/siacs/conversations/entities/Account.java
@@ -326,7 +326,7 @@ public class Account extends AbstractEntity{
public Bitmap getImage(Context context, int size) {
if (this.avatar!=null) {
- Bitmap bm = BitmapFactory.decodeFile(FileBackend.getAvatarPath(context, avatar));
+ Bitmap bm = FileBackend.getAvatar(this.avatar, size, context);
if (bm==null) {
return UIHelper.getContactPicture(getJid(), size, context, false);
} else {