mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
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