diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt index 26824cdd49..e30a451203 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chat/ComposeView.kt @@ -760,6 +760,11 @@ fun ComposeView( if (updatedItem != null) { withContext(Dispatchers.Main) { chatsCtx.upsertChatItem(chat.remoteHostId, cInfo, updatedItem.chatItem) + // an edit in a member-support scope is added only to the active (secondary) context; also + // update the primary context so the main chat list preview reflects the edit (like the send path) + if (chatsCtx.secondaryContextFilter is SecondaryContextFilter.GroupChatScopeContext) { + chatModel.chatsContext.upsertChatItem(chat.remoteHostId, cInfo, updatedItem.chatItem) + } } } return updatedItem?.chatItem