forked from upstream-mirrors/quik
Don't require explicit getter for threadId
This commit is contained in:
@@ -45,7 +45,6 @@ open class Message : RealmObject() {
|
|||||||
@Index
|
@Index
|
||||||
@Deprecated("This is only here for Realm to access - it should be ignored in our codebase")
|
@Deprecated("This is only here for Realm to access - it should be ignored in our codebase")
|
||||||
var threadId: Long = 0
|
var threadId: Long = 0
|
||||||
get() = conversation?.id ?: 0
|
|
||||||
|
|
||||||
// The MMS-SMS content provider returns messages where duplicate ids can exist. This is because
|
// The MMS-SMS content provider returns messages where duplicate ids can exist. This is because
|
||||||
// SMS and MMS are stored in separate tables. We can't use these ids as our realm message id
|
// SMS and MMS are stored in separate tables. We can't use these ids as our realm message id
|
||||||
|
|||||||
Reference in New Issue
Block a user