fix open group message date issue for media messages

This commit is contained in:
Ryan ZHAO 2020-09-23 17:21:35 +10:00
parent 41041071f4
commit 4f2bb1abce

View File

@ -914,7 +914,7 @@ public class MmsDatabase extends MessagingDatabase {
type |= Types.EXPIRATION_TIMER_UPDATE_BIT; type |= Types.EXPIRATION_TIMER_UPDATE_BIT;
} }
return insertMessageInbox(retrieved, "", threadId, type, 0); return insertMessageInbox(retrieved, "", threadId, type, serverTimestamp);
} }
public Optional<InsertResult> insertSecureDecryptedMessageInbox(IncomingMediaMessage retrieved, long threadId) public Optional<InsertResult> insertSecureDecryptedMessageInbox(IncomingMediaMessage retrieved, long threadId)