Make clickable conversation items batch selectable

Fixes #2679

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-03-16 10:31:42 -07:00
parent b47bd97e9e
commit 142f84703b

View File

@ -334,9 +334,10 @@ public class ConversationItem extends LinearLayout {
} }
private void setEvents(MessageRecord messageRecord) { private void setEvents(MessageRecord messageRecord) {
setClickable(messageRecord.isFailed() || setClickable(batchSelected.isEmpty() &&
messageRecord.isPendingInsecureSmsFallback() || (messageRecord.isFailed() ||
messageRecord.isBundleKeyExchange()); messageRecord.isPendingInsecureSmsFallback() ||
messageRecord.isBundleKeyExchange()));
} }
private void setGroupMessageStatus(MessageRecord messageRecord) { private void setGroupMessageStatus(MessageRecord messageRecord) {