You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for starting thread from oldest replies (#2682)
* Add support for starting from oldest thread replies
* Move `ChatMessageController` Actions to inside class so that it can be mockable
* Add test coverage
* Improve Channel List preloading speed
* Rename `scrollToMostRecentMessage -> scrollToBottom` for consistency
* Rename ScrollToLatestMessageButton -> ScrollToBottomButton
* Update CHANGELOG.md
---------
Co-authored-by: Alexey Alter-Pesotskiy <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
13
13
- Fix not being able to resend failed attachments [#2680](https://github.com/GetStream/stream-chat-swift/pull/2680)
14
14
15
15
## StreamChatUI
16
+
### ✅ Added
17
+
- Add support for starting thread from oldest replies by enabling `Components.threadRepliesStartFromOldest`[#2682](https://github.com/GetStream/stream-chat-swift/pull/2682)
16
18
### 🐞 Fixed
17
19
- Fix custom `ImageLoading` functions with default arguments not being called [#2695](https://github.com/GetStream/stream-chat-swift/pull/2695)
20
+
- Improve Channel List prefetching when loading more channels [#2682](https://github.com/GetStream/stream-chat-swift/pull/2682)
messageUpdater.flagMessage(false, with: messageId, in: cid){ error in
588
586
self.callback{
589
587
completion?(error)
@@ -598,7 +596,7 @@ public extension ChatMessageController {
598
596
/// - enforceUnique: If set to `true`, new reaction will replace all reactions the user has (if any) on this message.
599
597
/// - extraData: The reaction extra data.
600
598
/// - completion: The completion. Will be called on a **callbackQueue** when the network request is finished.
601
-
func addReaction(
599
+
publicfunc addReaction(
602
600
_ type:MessageReactionType,
603
601
score:Int=1,
604
602
enforceUnique:Bool=false,
@@ -622,7 +620,7 @@ public extension ChatMessageController {
622
620
/// - Parameters:
623
621
/// - type: The reaction type.
624
622
/// - completion: The completion. Will be called on a **callbackQueue** when the network request is finished.
625
-
func deleteReaction(
623
+
publicfunc deleteReaction(
626
624
_ type:MessageReactionType,
627
625
completion:((Error?)->Void)?=nil
628
626
){
@@ -637,7 +635,7 @@ public extension ChatMessageController {
637
635
/// - Parameters:
638
636
/// - pinning: The pinning expiration information. It supports setting an infinite expiration, setting a date, or the amount of time a message is pinned.
639
637
/// - completion: A completion block with an error if the request was failed.
0 commit comments