mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
parent
b43beaab75
commit
bdc464193d
@ -524,6 +524,7 @@ public class MmsDatabase extends MessagingDatabase {
|
|||||||
database.update(TABLE_NAME, values, ID_WHERE, new String[]{String.valueOf(id)});
|
database.update(TABLE_NAME, values, ID_WHERE, new String[]{String.valueOf(id)});
|
||||||
|
|
||||||
DatabaseFactory.getThreadDatabase(context).updateReadState(threadId);
|
DatabaseFactory.getThreadDatabase(context).updateReadState(threadId);
|
||||||
|
DatabaseFactory.getThreadDatabase(context).setLastSeen(threadId);
|
||||||
notifyConversationListeners(threadId);
|
notifyConversationListeners(threadId);
|
||||||
}
|
}
|
||||||
} catch (InvalidNumberException e) {
|
} catch (InvalidNumberException e) {
|
||||||
|
@ -383,6 +383,7 @@ public class SmsDatabase extends MessagingDatabase {
|
|||||||
database.update(TABLE_NAME, contentValues, ID_WHERE, new String[] {cursor.getLong(cursor.getColumnIndexOrThrow(ID)) + ""});
|
database.update(TABLE_NAME, contentValues, ID_WHERE, new String[] {cursor.getLong(cursor.getColumnIndexOrThrow(ID)) + ""});
|
||||||
|
|
||||||
DatabaseFactory.getThreadDatabase(context).updateReadState(threadId);
|
DatabaseFactory.getThreadDatabase(context).updateReadState(threadId);
|
||||||
|
DatabaseFactory.getThreadDatabase(context).setLastSeen(threadId);
|
||||||
notifyConversationListeners(threadId);
|
notifyConversationListeners(threadId);
|
||||||
}
|
}
|
||||||
} catch (InvalidNumberException e) {
|
} catch (InvalidNumberException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user