diff --git a/stream-chat-android-ui-components/api/stream-chat-android-ui-components.api b/stream-chat-android-ui-components/api/stream-chat-android-ui-components.api index 765a79ec172..6683d109619 100644 --- a/stream-chat-android-ui-components/api/stream-chat-android-ui-components.api +++ b/stream-chat-android-ui-components/api/stream-chat-android-ui-components.api @@ -2889,13 +2889,14 @@ public final class io/getstream/chat/android/ui/feature/messages/list/adapter/Me public final class io/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff { public static final field Companion Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff$Companion; - public fun (ZZZZZZZZZZZZZ)V + public fun (ZZZZZZZZZZZZZZ)V public final fun anyChanged ()Z public final fun component1 ()Z public final fun component10 ()Z public final fun component11 ()Z public final fun component12 ()Z public final fun component13 ()Z + public final fun component14 ()Z public final fun component2 ()Z public final fun component3 ()Z public final fun component4 ()Z @@ -2904,8 +2905,8 @@ public final class io/getstream/chat/android/ui/feature/messages/list/adapter/Me public final fun component7 ()Z public final fun component8 ()Z public final fun component9 ()Z - public final fun copy (ZZZZZZZZZZZZZ)Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff; - public static synthetic fun copy$default (Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff;ZZZZZZZZZZZZZILjava/lang/Object;)Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff; + public final fun copy (ZZZZZZZZZZZZZZ)Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff; + public static synthetic fun copy$default (Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff;ZZZZZZZZZZZZZZILjava/lang/Object;)Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff; public fun equals (Ljava/lang/Object;)Z public final fun getAttachments ()Z public final fun getDeleted ()Z @@ -2919,6 +2920,7 @@ public final class io/getstream/chat/android/ui/feature/messages/list/adapter/Me public final fun getReplyText ()Z public final fun getSyncStatus ()Z public final fun getText ()Z + public final fun getThreadMode ()Z public final fun getUser ()Z public fun hashCode ()I public final fun plus (Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff;)Lio/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff; diff --git a/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff.kt b/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff.kt index 435818f7d50..faf211c308f 100644 --- a/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff.kt +++ b/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/MessageListItemPayloadDiff.kt @@ -30,6 +30,7 @@ public data class MessageListItemPayloadDiff( val mentions: Boolean, val footer: Boolean, val poll: Boolean, + val threadMode: Boolean, ) { public operator fun plus(other: MessageListItemPayloadDiff): MessageListItemPayloadDiff { return MessageListItemPayloadDiff( @@ -46,6 +47,7 @@ public data class MessageListItemPayloadDiff( mentions = mentions || other.mentions, footer = footer || other.footer, poll = poll || other.poll, + threadMode = threadMode || other.threadMode, ) } @@ -66,6 +68,7 @@ public data class MessageListItemPayloadDiff( mentions = false, footer = false, poll = false, + threadMode = false, ) public val FULL: MessageListItemPayloadDiff = MessageListItemPayloadDiff( @@ -82,6 +85,7 @@ public data class MessageListItemPayloadDiff( mentions = true, footer = true, poll = true, + threadMode = true, ) } } diff --git a/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/internal/MessageListItemDiffCallback.kt b/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/internal/MessageListItemDiffCallback.kt index 901ad254368..62b045d6034 100644 --- a/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/internal/MessageListItemDiffCallback.kt +++ b/stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/feature/messages/list/adapter/internal/MessageListItemDiffCallback.kt @@ -77,6 +77,7 @@ internal object MessageListItemDiffCallback : DiffUtil.ItemCallback