From e74a3e49e7bfce5c3984a10f1e3692ed2a3918f4 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 17 May 2022 20:20:49 +0200 Subject: [PATCH] Fix enum and make it a parcel again Signed-off-by: Andy Scherzinger --- .../nextcloud/talk/models/json/conversations/Conversation.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/models/json/conversations/Conversation.kt b/app/src/main/java/com/nextcloud/talk/models/json/conversations/Conversation.kt index 23d89bbe4..b7718584d 100644 --- a/app/src/main/java/com/nextcloud/talk/models/json/conversations/Conversation.kt +++ b/app/src/main/java/com/nextcloud/talk/models/json/conversations/Conversation.kt @@ -191,7 +191,8 @@ data class Conversation( CONVERSATION_READ_WRITE, CONVERSATION_READ_ONLY } - enum class ConversationType { + @Parcelize + enum class ConversationType : Parcelable { DUMMY, ROOM_TYPE_ONE_TO_ONE_CALL, ROOM_GROUP_CALL, ROOM_PUBLIC_CALL, ROOM_SYSTEM } }