forked from upstream-mirrors/quik
Show notification if message failed to send
This commit is contained in:
@@ -142,6 +142,13 @@ class MessageRepository @Inject constructor(
|
||||
.findAll()
|
||||
}
|
||||
|
||||
fun getMessage(id: Long): Message? {
|
||||
return Realm.getDefaultInstance()
|
||||
.where(Message::class.java)
|
||||
.equalTo("id", id)
|
||||
.findFirst()
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the list of messages which should be shown in the notification
|
||||
* for a given conversation
|
||||
|
||||
Reference in New Issue
Block a user