forked from upstream-mirrors/quik
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