Skip to content

Commit 718f2ca

Browse files
Exposed mentionedUsers in the MessageComposerViewModel
1 parent f19754b commit 718f2ca

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1010
### ✅ Added
1111
- Added a factory method for customizing the composer text input view
1212

13+
### 🔄 Changed
14+
- Exposed mentionedUsers in the MessageComposerViewModel
15+
1316
# [4.31.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.31.0)
1417
_April 25, 2023_
1518

Sources/StreamChatSwiftUI/ChatChannel/Composer/MessageComposerViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ open class MessageComposerViewModel: ObservableObject {
138138
with: channelController
139139
)
140140

141-
private(set) var mentionedUsers = Set<ChatUser>()
141+
public var mentionedUsers = Set<ChatUser>()
142142

143143
private var messageText: String {
144144
if let composerCommand = composerCommand,

0 commit comments

Comments
 (0)