Allow for nullable cursor when syncing message

This commit is contained in:
Moez Bhatti
2018-04-06 17:49:27 -04:00
parent 2a638d29a3
commit 7779ed219d
4 changed files with 22 additions and 17 deletions
@@ -19,14 +19,13 @@
package repository
import android.net.Uri
import io.reactivex.Flowable
import model.Message
interface SyncRepository {
fun syncMessages(fullSync: Boolean = false)
fun syncMessage(uri: Uri): Flowable<Message>
fun syncMessage(uri: Uri): Message?
fun syncContacts()