mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add DcContact.isKeyContact()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user