mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 14:08:26 +00:00
Do not show sent checkmark for verification status changes
Fixes #6743 Closes #7041 // FREEBIE
This commit is contained in:
parent
0ab9b56a18
commit
fdd070c1dd
@ -207,7 +207,7 @@ public class ConversationListItem extends RelativeLayout
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setStatusIcons(ThreadRecord thread) {
|
private void setStatusIcons(ThreadRecord thread) {
|
||||||
if (!thread.isOutgoing() || thread.isOutgoingCall()) {
|
if (!thread.isOutgoing() || thread.isOutgoingCall() || thread.isVerificationStatusChange()) {
|
||||||
deliveryStatusIndicator.setNone();
|
deliveryStatusIndicator.setNone();
|
||||||
alertView.setNone();
|
alertView.setNone();
|
||||||
} else if (thread.isFailed()) {
|
} else if (thread.isFailed()) {
|
||||||
|
@ -144,6 +144,10 @@ public abstract class DisplayRecord {
|
|||||||
return SmsDatabase.Types.isMissedCall(type);
|
return SmsDatabase.Types.isMissedCall(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isVerificationStatusChange() {
|
||||||
|
return SmsDatabase.Types.isIdentityDefault(type) || SmsDatabase.Types.isIdentityVerified(type);
|
||||||
|
}
|
||||||
|
|
||||||
public int getDeliveryStatus() {
|
public int getDeliveryStatus() {
|
||||||
return deliveryStatus;
|
return deliveryStatus;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user