add DcContact.isKeyContact()

This commit is contained in:
adbenitez
2025-06-30 18:58:28 +02:00
parent 0f694876f5
commit bd8698c3f3
3 changed files with 8 additions and 1 deletions
@@ -57,6 +57,7 @@ public class DcContact {
public native boolean wasSeenRecently();
public native boolean isBlocked ();
public native boolean isVerified ();
public native boolean isKeyContact ();
public native int getVerifierId ();
public native boolean isBot ();
@@ -109,7 +109,7 @@ public class ContactSelectionListItem extends LinearLayout implements RecipientM
this.nameView.setEnabled(true);
this.nameView.setText(name==null? "#" : name);
if (contact != null && contact.isVerified()) {
if (contact != null && contact.isKeyContact()) {
number = null;
}