Update inbox status icon on SMS delivery receipt

Closes #4848
// FREEBIE
This commit is contained in:
haffenloher 2015-12-09 19:53:19 +01:00 committed by Moxie Marlinspike
parent 2bd5b5fd68
commit e5cd3e4fd1

View File

@ -241,7 +241,10 @@ public class SmsDatabase extends MessagingDatabase {
SQLiteDatabase db = databaseHelper.getWritableDatabase();
db.update(TABLE_NAME, contentValues, ID_WHERE, new String[] {id+""});
notifyConversationListeners(getThreadIdForMessage(id));
long threadId = getThreadIdForMessage(id);
DatabaseFactory.getThreadDatabase(context).update(threadId, false);
notifyConversationListeners(threadId);
}
public void markAsSentFailed(long id) {