change compose sendintent (sending sms/mms) and sendmessage interactor to ensure convos congruency

change compose selectedconversation (chips -> convo monitoring) to take advantage of changes in conversationrepo
conversationrepo change getthreadid to getconversation to avoid duplicate db access
some cleanups and refactoring in conversationrepo
This commit is contained in:
gavine99
2025-04-07 14:52:04 +10:00
parent 27a836324e
commit 821b02ad58
6 changed files with 402 additions and 471 deletions
@@ -67,15 +67,15 @@ interface ConversationRepository {
fun getRecipient(recipientId: Long): Recipient?
fun getThreadId(recipient: String): Long?
fun getConversation(recipient: String): Conversation?
fun getThreadId(recipients: Collection<String>): Long?
fun getConversation(recipients: Collection<String>): Conversation?
fun getOrCreateConversation(threadId: Long): Conversation?
fun getOrCreateConversation(address: String): Conversation?
fun getOrCreateConversation(addresses: List<String>): Conversation?
fun getOrCreateConversation(addresses: Collection<String>): Conversation?
fun saveDraft(threadId: Long, draft: String)
@@ -92,7 +92,7 @@ interface ConversationRepository {
fun markUnpinned(vararg threadIds: Long)
fun markBlocked(threadIds: List<Long>, blockingClient: Int, blockReason: String?)
fun markBlocked(threadIds: Collection<Long>, blockingClient: Int, blockReason: String?)
fun markUnblocked(vararg threadIds: Long)