diff --git a/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/reply/group/StoryGroupReplyFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/reply/group/StoryGroupReplyFragment.kt index 842b8cd779..54c576a310 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/reply/group/StoryGroupReplyFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/stories/viewer/reply/group/StoryGroupReplyFragment.kt @@ -248,9 +248,9 @@ class StoryGroupReplyFragment : markReadHelper?.onViewsRevealed(adapterItem.replyBody.sentAtMillis) } - private fun getConfiguration(pageData: List): DSLConfiguration { + private fun getConfiguration(pageData: List): DSLConfiguration { return configure { - pageData.forEach { + pageData.filterNotNull().forEach { when (it) { is ReplyBody.Text -> { customPref(