forked from GitHub-Mirror/riotX-android
Add an identifier method on ChunkEntity
This commit is contained in:
parent
245fbe86d9
commit
585f0ba4b7
@ -33,6 +33,8 @@ internal open class ChunkEntity(@Index var prevToken: String? = null,
|
||||
var forwardsStateIndex: Int? = null
|
||||
) : RealmObject() {
|
||||
|
||||
fun identifier() = "${prevToken}_${nextToken}"
|
||||
|
||||
@LinkingObjects("chunks")
|
||||
val room: RealmResults<RoomEntity>? = null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user