From 65ec15d42604983ce52325541fd03a6a86fe406f Mon Sep 17 00:00:00 2001 From: "sha.sdk_deployment" Date: Fri, 3 May 2024 08:42:52 +0000 Subject: [PATCH] Added v3.16.1 --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- uikit/src/main/java/com/sendbird/uikit/model/MessageList.kt | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c46270f9..1eac3f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Changelog +### v3.16.1 (May 3, 2024) with Chat SDK `v4.16.2` +* Fixed timeline messages not showing up in the channel. ### v3.16.0 (Apr 25, 2024) with Chat SDK `v4.16.2` Support a way to customise the menu items in the `ChannelSettingsMenuComponent` and `OpenChannelSettingsMenuComponent`. - Added `createMenuView(Context, String, String, SingleMenuType, int, int)` in `ChannelSettingsMenuComponent` diff --git a/gradle.properties b/gradle.properties index f38ee443..955872f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,5 +16,5 @@ org.gradle.jvmargs=-Xmx1536m # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true -UIKIT_VERSION = 3.16.0 +UIKIT_VERSION = 3.16.1 UIKIT_VERSION_CODE = 1 diff --git a/uikit/src/main/java/com/sendbird/uikit/model/MessageList.kt b/uikit/src/main/java/com/sendbird/uikit/model/MessageList.kt index 0a75585c..5b9e23a6 100644 --- a/uikit/src/main/java/com/sendbird/uikit/model/MessageList.kt +++ b/uikit/src/main/java/com/sendbird/uikit/model/MessageList.kt @@ -1,6 +1,7 @@ package com.sendbird.uikit.model import com.sendbird.android.message.BaseMessage +import com.sendbird.android.message.CustomizableMessage import com.sendbird.uikit.log.Logger import com.sendbird.uikit.utils.DateUtils import java.util.TreeSet @@ -130,6 +131,7 @@ internal class MessageList @JvmOverloads constructor(private val order: Order = @Synchronized fun update(message: BaseMessage) { Logger.d(">> MessageList::updateMessage()") + if (message is CustomizableMessage) return if (messages.remove(message)) { BaseMessage.clone(message)?.let { messages.add(it) } }