diff --git a/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt b/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt index 7e3b69c74..7d697dd0c 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/converters/EnumActorTypeConverter.kt @@ -27,6 +27,7 @@ import com.nextcloud.talk.models.json.participants.Participant import com.nextcloud.talk.models.json.participants.Participant.ActorType.CIRCLES import com.nextcloud.talk.models.json.participants.Participant.ActorType.DUMMY import com.nextcloud.talk.models.json.participants.Participant.ActorType.EMAILS +import com.nextcloud.talk.models.json.participants.Participant.ActorType.FEDERATED import com.nextcloud.talk.models.json.participants.Participant.ActorType.GROUPS import com.nextcloud.talk.models.json.participants.Participant.ActorType.GUESTS import com.nextcloud.talk.models.json.participants.Participant.ActorType.USERS @@ -39,6 +40,7 @@ class EnumActorTypeConverter : StringBasedTypeConverter() "guests" -> GUESTS "users" -> USERS "circles" -> CIRCLES + "federated_users" -> FEDERATED else -> DUMMY } } @@ -54,6 +56,7 @@ class EnumActorTypeConverter : StringBasedTypeConverter() GUESTS -> "guests" USERS -> "users" CIRCLES -> "circles" + FEDERATED -> "federated_users" else -> "" } } diff --git a/app/src/main/java/com/nextcloud/talk/models/json/participants/Participant.kt b/app/src/main/java/com/nextcloud/talk/models/json/participants/Participant.kt index 68f0c7bf9..ed9f83f00 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/participants/Participant.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/participants/Participant.kt @@ -129,7 +129,8 @@ data class Participant( GROUPS, GUESTS, USERS, - CIRCLES + CIRCLES, + FEDERATED } enum class ParticipantType {