Fix for no paradigm.

This commit is contained in:
Moxie Marlinspike 2014-02-17 11:54:39 -08:00
parent b9f4fba98a
commit 18f3314cd2

View File

@ -147,17 +147,18 @@ public class ConversationItem extends LinearLayout {
this.groupThread = groupThread; this.groupThread = groupThread;
setBodyText(messageRecord); setBodyText(messageRecord);
if (messageRecord.getGroupAction() < 1) { if (messageRecord.getGroupAction() < 1) {
setStatusIcons(messageRecord); setStatusIcons(messageRecord);
setContactPhoto(messageRecord); setContactPhoto(messageRecord);
setGroupMessageStatus(messageRecord); setGroupMessageStatus(messageRecord);
setEvents(messageRecord); setEvents(messageRecord);
}
if (messageRecord instanceof NotificationMmsMessageRecord) { if (messageRecord instanceof NotificationMmsMessageRecord) {
setNotificationMmsAttributes((NotificationMmsMessageRecord)messageRecord); setNotificationMmsAttributes((NotificationMmsMessageRecord)messageRecord);
} else if (messageRecord instanceof MediaMmsMessageRecord) { } else if (messageRecord instanceof MediaMmsMessageRecord) {
setMediaMmsAttributes((MediaMmsMessageRecord)messageRecord); setMediaMmsAttributes((MediaMmsMessageRecord)messageRecord);
}
} }
} }