group MMS at fetching by id too, not just sms

This commit is contained in:
tibbi 2020-04-11 11:11:33 +02:00
parent e79818d789
commit 2a0a96718a
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ fun Context.getMMS(threadId: Int? = null, sortOrder: String? = null): ArrayList<
) )
val selection = if (threadId == null) { val selection = if (threadId == null) {
null "1 == 1) GROUP BY (${Mms.THREAD_ID}"
} else { } else {
"${Mms.THREAD_ID} = ?" "${Mms.THREAD_ID} = ?"
} }