mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
update home screen immediately
This commit is contained in:
parent
85eff702c3
commit
22b4ca2a27
@ -64,6 +64,7 @@ class SessionContactDatabase(context: Context, helper: SQLCipherOpenHelper) : Da
|
|||||||
contentValues.put(threadID, threadID)
|
contentValues.put(threadID, threadID)
|
||||||
contentValues.put(isTrusted, if (contact.isTrusted) 1 else 0)
|
contentValues.put(isTrusted, if (contact.isTrusted) 1 else 0)
|
||||||
database.insertOrUpdate(sessionContactTable, contentValues, "$sessionID = ?", arrayOf(contact.sessionID))
|
database.insertOrUpdate(sessionContactTable, contentValues, "$sessionID = ?", arrayOf(contact.sessionID))
|
||||||
|
notifyConversationListListeners()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun contactFromCursor(cursor: Cursor): Contact {
|
private fun contactFromCursor(cursor: Cursor): Contact {
|
||||||
|
Loading…
Reference in New Issue
Block a user