Skip to content

Commit c3e5fac

Browse files
Updated changelog, fixed tests
1 parent ede443e commit c3e5fac

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
33

44
# Upcoming
55

6+
### ✅ Added
7+
- Inline replies to messages
8+
- Message threads
9+
610
### 🔄 Changed
711

812
# [4.6.1](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.6.1)

Sources/StreamChatSwiftUI/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>4.6.1</string>
18+
<string>4.6.2</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPhotoLibraryUsageDescription</key>

StreamChatSwiftUI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = "StreamChatSwiftUI"
3-
spec.version = "4.6.1"
3+
spec.version = "4.6.2"
44
spec.summary = "StreamChat SwiftUI Components"
55
spec.description = "StreamChatUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK."
66

StreamChatSwiftUITests/Infrastructure/TestTools/DatabaseContainer_Mock.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ extension DatabaseContainer {
243243
reactionCounts: reactionCounts
244244
)
245245

246-
let messageDTO = try session.saveMessage(payload: message, channelDTO: channelDTO)
246+
let messageDTO = try session.saveMessage(payload: message, channelDTO: channelDTO, syncOwnReactions: true)
247247
messageDTO.localMessageState = localState
248248
messageDTO.reactionCounts = reactionCounts.mapKeys(\.rawValue)
249249
messageDTO.reactionScores = reactionScores.mapKeys(\.rawValue)
@@ -257,7 +257,7 @@ extension DatabaseContainer {
257257
text: "Reply \(idx)"
258258
)
259259

260-
let replyDTO = try session.saveMessage(payload: reply, for: cid)!
260+
let replyDTO = try session.saveMessage(payload: reply, for: cid, syncOwnReactions: true)!
261261
messageDTO.replies.insert(replyDTO)
262262
}
263263
}

0 commit comments

Comments
 (0)