From 4f2bb1abce775166c3e44d4b90c1c7078c594ef4 Mon Sep 17 00:00:00 2001 From: Ryan ZHAO Date: Wed, 23 Sep 2020 17:21:35 +1000 Subject: [PATCH] fix open group message date issue for media messages --- src/org/thoughtcrime/securesms/database/MmsDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/database/MmsDatabase.java b/src/org/thoughtcrime/securesms/database/MmsDatabase.java index 97a59c5007..eccb3600cb 100644 --- a/src/org/thoughtcrime/securesms/database/MmsDatabase.java +++ b/src/org/thoughtcrime/securesms/database/MmsDatabase.java @@ -914,7 +914,7 @@ public class MmsDatabase extends MessagingDatabase { type |= Types.EXPIRATION_TIMER_UPDATE_BIT; } - return insertMessageInbox(retrieved, "", threadId, type, 0); + return insertMessageInbox(retrieved, "", threadId, type, serverTimestamp); } public Optional insertSecureDecryptedMessageInbox(IncomingMediaMessage retrieved, long threadId)