mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 07:57:30 +00:00
Don't auto-set thread to read on send.
This commit is contained in:
parent
8dad82323d
commit
49ea135e37
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user