check if no message came from a privately stored contact in Simple Contacts
This commit is contained in:
parent
910aa365ac
commit
db90f0f08c
3 changed files with 13 additions and 1 deletions
|
|
@ -186,6 +186,7 @@ fun Context.getConversations(): ArrayList<Conversation> {
|
|||
val selection = "${Threads.MESSAGE_COUNT} > ?"
|
||||
val selectionArgs = arrayOf("0")
|
||||
val sortOrder = "${Threads.DATE} DESC"
|
||||
|
||||
val conversations = ArrayList<Conversation>()
|
||||
queryCursor(uri, projection, selection, selectionArgs, sortOrder, true) { cursor ->
|
||||
val id = cursor.getIntValue(Threads._ID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue