mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Show conversation title in GalleryActivity
This commit is contained in:
@@ -154,6 +154,13 @@ class MessageRepository @Inject constructor(
|
||||
.findFirst()
|
||||
}
|
||||
|
||||
fun getMessageForPart(id: Long): Message? {
|
||||
return Realm.getDefaultInstance()
|
||||
.where(Message::class.java)
|
||||
.equalTo("parts.id", id)
|
||||
.findFirst()
|
||||
}
|
||||
|
||||
fun getPart(id: Long): MmsPart? {
|
||||
return Realm.getDefaultInstance()
|
||||
.where(MmsPart::class.java)
|
||||
|
||||
Reference in New Issue
Block a user