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,12 +147,12 @@ 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);
@ -160,6 +160,7 @@ public class ConversationItem extends LinearLayout {
setMediaMmsAttributes((MediaMmsMessageRecord)messageRecord); setMediaMmsAttributes((MediaMmsMessageRecord)messageRecord);
} }
} }
}
public void unbind() { public void unbind() {
if (slideDeck != null) if (slideDeck != null)