From a33df551118ae3daa3e04ca395e7dee7a22012ef Mon Sep 17 00:00:00 2001 From: Martin Mitrevski Date: Mon, 15 Sep 2025 13:48:07 +0200 Subject: [PATCH 1/4] Respect the dashboard value for quote replies --- .../ChatChannel/MessageList/MessageViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageViewModel.swift b/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageViewModel.swift index d9c22fcd3..b47a826f4 100644 --- a/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageViewModel.swift +++ b/Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageViewModel.swift @@ -86,7 +86,7 @@ open class MessageViewModel: ObservableObject { } open var isSwipeToQuoteReplyPossible: Bool { - message.isInteractionEnabled && channel?.config.repliesEnabled == true + message.isInteractionEnabled && channel?.config.quotesEnabled == true } open var textContent: String { From 5528d9a193dede8335f48b022168881da76b879a Mon Sep 17 00:00:00 2001 From: Martin Mitrevski Date: Mon, 15 Sep 2025 13:49:56 +0200 Subject: [PATCH 2/4] Updated CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f3f0895b..5c67459ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add support for downloading file attachments [#952](https://github.com/GetStream/stream-chat-swiftui/pull/952) ### 🐞 Fixed - Fix updating back button tint with `ColorPalette.navigationBarTintColor` [#953](https://github.com/GetStream/stream-chat-swiftui/pull/953) +- Respect the dashboard value for quote replies [#977](https://github.com/GetStream/stream-chat-swiftui/pull/957) # [4.88.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.88.0) _September 10, 2025_ From 75f22b57a0f92941bb30da7140de650cf2f4af21 Mon Sep 17 00:00:00 2001 From: Martin Mitrevski Date: Mon, 15 Sep 2025 14:03:56 +0200 Subject: [PATCH 3/4] Fixed tests --- .../Tests/ChatChannel/MessageContainerView_Tests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift b/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift index 37c72534f..9239d3ff2 100644 --- a/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift +++ b/StreamChatSwiftUITests/Tests/ChatChannel/MessageContainerView_Tests.swift @@ -454,7 +454,7 @@ class MessageContainerView_Tests: StreamChatTestCase { isSentByCurrentUser: true ) - let viewModel = MessageViewModel(message: message, channel: .mockDMChannel(config: .mock(repliesEnabled: false))) + let viewModel = MessageViewModel(message: message, channel: .mockDMChannel(config: .mock(quotesEnabled: false))) XCTAssertFalse(viewModel.isSwipeToQuoteReplyPossible) } From adec5da2bd3ba567ab3bc7c214d52fa00183ac06 Mon Sep 17 00:00:00 2001 From: Martin Mitrevski Date: Mon, 15 Sep 2025 14:05:11 +0200 Subject: [PATCH 4/4] Update CHANGELOG.md Co-authored-by: Nuno Vieira --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c67459ae..0a4574b05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add support for downloading file attachments [#952](https://github.com/GetStream/stream-chat-swiftui/pull/952) ### 🐞 Fixed - Fix updating back button tint with `ColorPalette.navigationBarTintColor` [#953](https://github.com/GetStream/stream-chat-swiftui/pull/953) -- Respect the dashboard value for quote replies [#977](https://github.com/GetStream/stream-chat-swiftui/pull/957) +- Fix swipe to reply enabled when quoting a message is disabled [#977](https://github.com/GetStream/stream-chat-swiftui/pull/957) # [4.88.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.88.0) _September 10, 2025_