mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 21:07:42 +00:00

committed by
Moxie Marlinspike

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() {
|
||||
|
Reference in New Issue
Block a user