mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 02:37:46 +00:00
parent
40332f57ad
commit
53e9b2ad1b
@ -128,8 +128,10 @@ public abstract class MessageRecord extends DisplayRecord {
|
||||
}
|
||||
|
||||
public long getTimestamp() {
|
||||
if (isPush()) return getDateSent();
|
||||
else return getDateReceived();
|
||||
if (isPush() && getDateSent() < getDateReceived()) {
|
||||
return getDateSent();
|
||||
}
|
||||
return getDateReceived();
|
||||
}
|
||||
|
||||
public boolean isForcedSms() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user