diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fec623..0850651 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## v4.2.28 (Nov 15, 2024) + +### Improvements +- Fixed a bug regarding the initial parameters in message collection + ## v4.2.27 (Nov 6, 2024) ### Features diff --git a/README.md b/README.md index 9162040..bc91e02 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Before installing Sendbird Chat SDK, you need to create a Sendbird application o ```yaml dependencies: - sendbird_chat_sdk: ^4.2.27 + sendbird_chat_sdk: ^4.2.28 ``` - Run `flutter pub get` command in your project directory. diff --git a/lib/src/internal/main/chat/chat.dart b/lib/src/internal/main/chat/chat.dart index 822a646..8bd4048 100644 --- a/lib/src/internal/main/chat/chat.dart +++ b/lib/src/internal/main/chat/chat.dart @@ -62,7 +62,7 @@ part 'chat_notifications.dart'; part 'chat_push.dart'; part 'chat_user.dart'; -const sdkVersion = '4.2.27'; +const sdkVersion = '4.2.28'; // Internal implementation for main class. Do not directly access this class. class Chat with WidgetsBindingObserver { diff --git a/lib/src/public/main/collection/group_channel_message_collection/base_message_collection.dart b/lib/src/public/main/collection/group_channel_message_collection/base_message_collection.dart index 6da5dd4..dfb1a34 100644 --- a/lib/src/public/main/collection/group_channel_message_collection/base_message_collection.dart +++ b/lib/src/public/main/collection/group_channel_message_collection/base_message_collection.dart @@ -305,14 +305,14 @@ abstract class BaseMessageCollection { ); } //- Failed messages - - _initializeParams.includeMetaArray = true; - _initializeParams.includeReactions = true; - _initializeParams.includeThreadInfo = true; - _initializeParams.includeParentMessageInfo = true; } //- [DBManager] + _initializeParams.includeMetaArray = true; + _initializeParams.includeReactions = true; + _initializeParams.includeThreadInfo = true; + _initializeParams.includeParentMessageInfo = true; + List messages = []; ChannelMessagesGetResponse? res; Object? exception; diff --git a/pubspec.yaml b/pubspec.yaml index 14c44ac..86c7526 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: sendbird_chat_sdk description: With Sendbird Chat for Flutter, you can easily build an in-app chat with all the essential messaging features. -version: 4.2.27 +version: 4.2.28 homepage: https://sendbird.com repository: https://github.com/sendbird/sendbird-chat-sdk-flutter documentation: https://sendbird.com/docs/chat/sdk/v4/flutter/getting-started/send-first-message