Signal-Android/app/src/main/java/org/thoughtcrime/securesms/safety/SafetyNumberRecipient.kt

17 wiersze
560 B
Kotlin

package org.thoughtcrime.securesms.safety
import org.thoughtcrime.securesms.database.model.IdentityRecord
import org.thoughtcrime.securesms.recipients.Recipient
/**
* Represents a Recipient who had a safety number change. Also includes information used in
* order to determine whether the recipient should be shown on a given screen and what menu
* options it should have.
*/
data class SafetyNumberRecipient(
val recipient: Recipient,
val identityRecord: IdentityRecord,
val distributionListMembershipCount: Int,
val groupMembershipCount: Int
)