mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
don't display last-seen etc. just hide address
This commit is contained in:
@@ -111,16 +111,7 @@ public class ContactSelectionListItem extends LinearLayout implements RecipientM
|
||||
this.nameView.setText(name==null? "#" : name);
|
||||
|
||||
if (contact != null && contact.isVerified()) {
|
||||
if (contact.isBot()) {
|
||||
number = getContext().getString(R.string.bot);
|
||||
} else {
|
||||
long timestamp = contact.getLastSeen();
|
||||
if (timestamp != 0) {
|
||||
number = getContext().getString(R.string.last_seen_at, DateUtils.getExtendedTimeSpanString(getContext(), timestamp));
|
||||
} else {
|
||||
number = null;
|
||||
}
|
||||
}
|
||||
number = null;
|
||||
}
|
||||
|
||||
if(number!=null) {
|
||||
|
||||
Reference in New Issue
Block a user