aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ConversationActivity.java
diff options
context:
space:
mode:
authorandy <andy@strb.org>2014-04-12 01:36:44 +0200
committerandy <andy@strb.org>2014-04-12 03:46:54 +0200
commitc2307337368e37fc3c7fec7d4b2e5cdf3be47212 (patch)
treeadc61cb40591a84ee0228f8b5167afbd4d7f73da /src/eu/siacs/conversations/ui/ConversationActivity.java
parent3d6f03e859cfc4727c68bfda424b58228f4ffa61 (diff)
More Contact Picture refactors
Use polymorphism to avoid dynamic dispatch based on nulled parameters. Next up: Prettier MUC icons
Diffstat (limited to 'src/eu/siacs/conversations/ui/ConversationActivity.java')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java
index 06a72689..20d83961 100644
--- a/src/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/eu/siacs/conversations/ui/ConversationActivity.java
@@ -164,8 +164,7 @@ public class ConversationActivity extends XmppActivity {
ImageView imageView = (ImageView) view
.findViewById(R.id.conversation_image);
imageView.setImageBitmap(UIHelper.getContactPicture(
- conv.getContact(), conv.getName(useSubject), 200,
- activity.getApplicationContext()));
+ conv, 200, activity.getApplicationContext()));
return view;
}