Do not show sent checkmark for verification status changes

Fixes #6743
Closes #7041
// FREEBIE
This commit is contained in:
Christian Ascheberg authored and Moxie Marlinspike committed 2017-10-11 17:47:12 -07:00
1 parent 7016f75886
commit 677b2a7494
2 files changed
+5 -1

No files matched your search

@@ -207,7 +207,7 @@ public class ConversationListItem extends RelativeLayout
}
private void setStatusIcons(ThreadRecord thread) {
if (!thread.isOutgoing() || thread.isOutgoingCall()) {
if (!thread.isOutgoing() || thread.isOutgoingCall() || thread.isVerificationStatusChange()) {
deliveryStatusIndicator.setNone();
alertView.setNone();
} else if (thread.isFailed()) {
@@ -144,6 +144,10 @@ public abstract class DisplayRecord {
return SmsDatabase.Types.isMissedCall(type);
}
public boolean isVerificationStatusChange() {
return SmsDatabase.Types.isIdentityDefault(type) || SmsDatabase.Types.isIdentityVerified(type);
}
public int getDeliveryStatus() {
return deliveryStatus;
}