mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-30 18:42:40 +02:00
Fixes slow down when the last message on chat is a base64 image.
This commit is contained in:
@@ -187,7 +187,7 @@ private fun ChannelRoomCompose(
|
||||
} else if (noteEvent is ChannelMetadataEvent) {
|
||||
"${stringRes(R.string.channel_information_changed_to)} "
|
||||
} else {
|
||||
noteEvent?.content()
|
||||
noteEvent?.content()?.take(200)
|
||||
}
|
||||
|
||||
val hasNewMessages = remember { mutableStateOf<Boolean>(false) }
|
||||
|
Reference in New Issue
Block a user