forked from upstream-mirrors/quik
Allow clicking anywhere in row to click through to conversation
This commit is contained in:
@@ -37,4 +37,4 @@ open class Recipient(
|
||||
?: PhoneNumberUtils.formatNumber(address, Locale.getDefault().country)
|
||||
?: address
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
package com.moez.QKSMS.repository
|
||||
|
||||
import com.moez.QKSMS.model.Conversation
|
||||
import com.moez.QKSMS.model.Recipient
|
||||
import com.moez.QKSMS.model.SearchResult
|
||||
import io.realm.RealmResults
|
||||
|
||||
@@ -50,6 +51,8 @@ interface ConversationRepository {
|
||||
*/
|
||||
fun getConversations(vararg threadIds: Long): RealmResults<Conversation>
|
||||
|
||||
fun getRecipient(recipientId: Long): Recipient?
|
||||
|
||||
fun getThreadId(recipient: String): Long?
|
||||
|
||||
fun getThreadId(recipients: Collection<String>): Long?
|
||||
|
||||
Reference in New Issue
Block a user