From 18f3314cd2c407f17a882dc47e3807f160bc0785 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 17 Feb 2014 11:54:39 -0800 Subject: [PATCH] Fix for no paradigm. --- src/org/thoughtcrime/securesms/ConversationItem.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/org/thoughtcrime/securesms/ConversationItem.java b/src/org/thoughtcrime/securesms/ConversationItem.java index b679b13ab5..efbf85d3ed 100644 --- a/src/org/thoughtcrime/securesms/ConversationItem.java +++ b/src/org/thoughtcrime/securesms/ConversationItem.java @@ -147,17 +147,18 @@ public class ConversationItem extends LinearLayout { this.groupThread = groupThread; setBodyText(messageRecord); + if (messageRecord.getGroupAction() < 1) { setStatusIcons(messageRecord); setContactPhoto(messageRecord); setGroupMessageStatus(messageRecord); setEvents(messageRecord); - } - if (messageRecord instanceof NotificationMmsMessageRecord) { - setNotificationMmsAttributes((NotificationMmsMessageRecord)messageRecord); - } else if (messageRecord instanceof MediaMmsMessageRecord) { - setMediaMmsAttributes((MediaMmsMessageRecord)messageRecord); + if (messageRecord instanceof NotificationMmsMessageRecord) { + setNotificationMmsAttributes((NotificationMmsMessageRecord)messageRecord); + } else if (messageRecord instanceof MediaMmsMessageRecord) { + setMediaMmsAttributes((MediaMmsMessageRecord)messageRecord); + } } }