forked from upstream-mirrors/quik
Fix indentation for constructor params
This commit is contained in:
@@ -24,20 +24,20 @@ import io.realm.annotations.Index
|
||||
import io.realm.annotations.PrimaryKey
|
||||
|
||||
open class Conversation(
|
||||
@PrimaryKey var id: Long = 0,
|
||||
@Index var archived: Boolean = false,
|
||||
@Index var blocked: Boolean = false,
|
||||
@Index var pinned: Boolean = false,
|
||||
var recipients: RealmList<Recipient> = RealmList(),
|
||||
var count: Int = 0,
|
||||
var date: Long = 0,
|
||||
var snippet: String = "",
|
||||
var read: Boolean = true,
|
||||
var me: Boolean = false,
|
||||
var draft: String = "",
|
||||
@PrimaryKey var id: Long = 0,
|
||||
@Index var archived: Boolean = false,
|
||||
@Index var blocked: Boolean = false,
|
||||
@Index var pinned: Boolean = false,
|
||||
var recipients: RealmList<Recipient> = RealmList(),
|
||||
var count: Int = 0,
|
||||
var date: Long = 0,
|
||||
var snippet: String = "",
|
||||
var read: Boolean = true,
|
||||
var me: Boolean = false,
|
||||
var draft: String = "",
|
||||
|
||||
// For group chats, the user is allowed to set a custom title for the conversation
|
||||
var name: String = ""
|
||||
// For group chats, the user is allowed to set a custom title for the conversation
|
||||
var name: String = ""
|
||||
) : RealmObject() {
|
||||
|
||||
fun getTitle(): String {
|
||||
|
||||
Reference in New Issue
Block a user