mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-20 06:48:27 +00:00
Update inbox status icon on SMS delivery receipt
Closes #4848 // FREEBIE
This commit is contained in:
parent
2bd5b5fd68
commit
e5cd3e4fd1
@ -241,7 +241,10 @@ public class SmsDatabase extends MessagingDatabase {
|
|||||||
|
|
||||||
SQLiteDatabase db = databaseHelper.getWritableDatabase();
|
SQLiteDatabase db = databaseHelper.getWritableDatabase();
|
||||||
db.update(TABLE_NAME, contentValues, ID_WHERE, new String[] {id+""});
|
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) {
|
public void markAsSentFailed(long id) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user