mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Sync MMS upon receiving
This commit is contained in:
@@ -98,6 +98,10 @@ class MessageRepository @Inject constructor(
|
||||
.findFirst()
|
||||
}
|
||||
|
||||
fun getOrCreateConversation(threadId: Long) {
|
||||
getConversation(threadId) ?: getConversationFromCp(threadId)
|
||||
}
|
||||
|
||||
fun getOrCreateConversation(address: String): Maybe<Conversation> {
|
||||
return getOrCreateConversation(listOf(address))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user