mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 16:03:39 +00:00
parent
ff2cb6935d
commit
38ec5647dd
@ -717,7 +717,7 @@ public class MmsDatabase extends MessagingDatabase {
|
|||||||
contentValues.put(PART_COUNT, retrieved.getAttachments().size());
|
contentValues.put(PART_COUNT, retrieved.getAttachments().size());
|
||||||
contentValues.put(SUBSCRIPTION_ID, retrieved.getSubscriptionId());
|
contentValues.put(SUBSCRIPTION_ID, retrieved.getSubscriptionId());
|
||||||
contentValues.put(EXPIRES_IN, retrieved.getExpiresIn());
|
contentValues.put(EXPIRES_IN, retrieved.getExpiresIn());
|
||||||
contentValues.put(READ, 0);
|
contentValues.put(READ, retrieved.isExpirationUpdate() ? 1 : 0);
|
||||||
|
|
||||||
if (!contentValues.containsKey(DATE_SENT)) {
|
if (!contentValues.containsKey(DATE_SENT)) {
|
||||||
contentValues.put(DATE_SENT, contentValues.getAsLong(DATE_RECEIVED));
|
contentValues.put(DATE_SENT, contentValues.getAsLong(DATE_RECEIVED));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user