mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
parent
4caff2e511
commit
7ceaf59bcc
@ -278,9 +278,7 @@ public class ConversationItem extends LinearLayout {
|
||||
} else if (messageRecord.isPending()) {
|
||||
dateText.setText(" ··· ");
|
||||
} else {
|
||||
final long timestamp = (messageRecord.isOutgoing() ?
|
||||
messageRecord.getDateSent() :
|
||||
messageRecord.getDateReceived());
|
||||
final long timestamp = messageRecord.getDateSent();
|
||||
|
||||
dateText.setText(DateUtils.getBetterRelativeTimeSpanString(getContext(), timestamp));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user