Skip to content

Commit

Permalink
Merge pull request #34 from sendbird/release/3.16.1
Browse files Browse the repository at this point in the history
3.16.1
  • Loading branch information
sendbird-sdk-deployment authored May 3, 2024
2 parents 4066912 + 65ec15d commit 436e979
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions uikit/src/main/java/com/sendbird/uikit/model/MessageList.kt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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) }
}
Expand Down

0 comments on commit 436e979

Please sign in to comment.