Change TS Media message timestamp from received time to sent time

Fix #3525
Closes #3535
//FREEBIE
This commit is contained in:
PurplePlatypus
2015-07-06 17:14:57 -05:00
committed by Moxie Marlinspike
parent 038f24f394
commit fe5e101463
4 changed files with 10 additions and 18 deletions

View File

@@ -349,10 +349,8 @@ public class MessageNotifier {
CharSequence body = record.getDisplayBody();
Recipients threadRecipients = null;
SlideDeck slideDeck = null;
long timestamp;
if (record.isPush()) timestamp = record.getDateSent();
else timestamp = record.getDateReceived();
long timestamp = record.getTimestamp();
if (threadId != -1) {
threadRecipients = DatabaseFactory.getThreadDatabase(context).getRecipientsForThreadId(threadId);