diff --git a/src/org/thoughtcrime/securesms/database/MmsDatabase.java b/src/org/thoughtcrime/securesms/database/MmsDatabase.java index d93a019cfb..e5acf63976 100644 --- a/src/org/thoughtcrime/securesms/database/MmsDatabase.java +++ b/src/org/thoughtcrime/securesms/database/MmsDatabase.java @@ -365,7 +365,6 @@ public class MmsDatabase extends Database { contentValues.put(DATE_RECEIVED, contentValues.getAsLong(DATE_SENT)); long messageId = insertMediaMessage(sendRequest, contentValues); - DatabaseFactory.getThreadDatabase(context).setRead(threadId); Trimmer.trimThread(context, threadId); return messageId; diff --git a/src/org/thoughtcrime/securesms/database/SmsDatabase.java b/src/org/thoughtcrime/securesms/database/SmsDatabase.java index 1ca27d9243..32efe28245 100644 --- a/src/org/thoughtcrime/securesms/database/SmsDatabase.java +++ b/src/org/thoughtcrime/securesms/database/SmsDatabase.java @@ -235,7 +235,6 @@ public class SmsDatabase extends Database { SQLiteDatabase db = databaseHelper.getWritableDatabase(); long messageId = db.insert(TABLE_NAME, ADDRESS, contentValues); - DatabaseFactory.getThreadDatabase(context).setRead(threadId); DatabaseFactory.getThreadDatabase(context).update(threadId); notifyConversationListeners(threadId); Trimmer.trimThread(context, threadId);