Don't auto-set thread to read on send.

This commit is contained in:
Moxie Marlinspike 2013-02-06 16:40:09 -08:00
parent 8dad82323d
commit 49ea135e37
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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);