ignore fast sender clock

Closes #5577
// FREEBIE
fork-5.53.8
Christian Ascheberg 2016-07-19 18:49:25 +02:00 zatwierdzone przez Moxie Marlinspike
rodzic 40332f57ad
commit 53e9b2ad1b
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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() {