diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-05-19 15:39:50 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-05-19 15:39:50 +0200 |
commit | a6f9a742c0dffeaa2f7fc26ad65e9c972a9d2288 (patch) | |
tree | 9cb185531ad65efadd7b7f83d4fcd83437e236cc /src/eu/siacs/conversations/utils/UIHelper.java | |
parent | 993477cd8301e1a9a19ccdc10008bc23928faf08 (diff) |
some code cleanup to deal with the roster mgmt changes from earlier
Diffstat (limited to 'src/eu/siacs/conversations/utils/UIHelper.java')
-rw-r--r-- | src/eu/siacs/conversations/utils/UIHelper.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/eu/siacs/conversations/utils/UIHelper.java b/src/eu/siacs/conversations/utils/UIHelper.java index e6aca3973..ff99c0915 100644 --- a/src/eu/siacs/conversations/utils/UIHelper.java +++ b/src/eu/siacs/conversations/utils/UIHelper.java @@ -247,13 +247,8 @@ public class UIHelper { public static Bitmap getContactPicture(Conversation conversation, int dpSize, Context context, boolean notification) { if(conversation.getMode() == Conversation.MODE_SINGLE) { - if (conversation.getContact() != null){ return getContactPicture(conversation.getContact(), dpSize, context, notification); - } else { - return getContactPicture(conversation.getName(false), dpSize, - context, notification); - } } else{ int fgColor = UIHelper.FG_COLOR, bgColor = (notification) ? |