fixed muc pm avatar

This commit is contained in:
iNPUTmice 2014-08-14 22:09:03 +02:00
parent e73a6525c7
commit 48c780d15a

View file

@ -389,8 +389,11 @@ public class MessageAdapter extends ArrayAdapter<Message> {
viewHolder.contact_picture.setImageBitmap(mBitmapCache.get(
contact, getContext()));
} else {
viewHolder.contact_picture.setImageBitmap(mBitmapCache.get(
item.getCounterpart(), getContext()));
String name = item.getPresence();
if (name==null) {
name = item.getCounterpart();
}
viewHolder.contact_picture.setImageBitmap(mBitmapCache.get(name, getContext()));
}
viewHolder.contact_picture
.setOnClickListener(new OnClickListener() {