stream-chat-android-client
⬆️ Improved
- Added offline plugin integration to the
ChatCliet.getMessage()method. If you use the offline plugin, any message fetched using this method will be stored inside the database upon successful completion of the API call. #4623
stream-chat-android-offline
✅ Added
- Added the
GetMessageListenerinterface used to perform actions as side effects when theChatCliet.getMessage()method is used to fetch a single message from the backend. #4623
stream-chat-android-ui-common
⬆️ Improved
MessageComposerControllerwill now query the server for a list of channel members if the input contains a mention symbol (@) and no user name matching the expression after the symbol @ was found in the local state containing a list of channel members. #4647
stream-chat-android-ui-components
⬆️ Improved
- The default implementation of
MessageInputViewwill now query channel members from the server if a mention lookup fails to find the matching channel member using the data available in the local state. #4647
✅ Added
- Added a feature flag to
ChatUIcalledshowThreadSeparatorInEmptyThread. You can use this to enable a thread separator if the thread is empty. #4629 - Added the
messageLimitparameter to MessageListViewModel and MessageListViewModelFactory. #4634 - Added lambda parameter
queryMembersOnlinetoDefaultUserLookupHandler. The lambda parameter is used internally byDefaultUserLookupHandler.handleUserLookup()when no matches could be found inside the list of users contained byDefaultUserLookupHandler.users. It should be used to query members from the server and return the results. #4647 - Added the feature flag boolean
navigateToThreadViaNotificationtoMessageListViewModelandMessageListViewModelFactory. If it is set to true and a thread message has been received via push notification, clicking on the notification will make the SDK automatically navigate to the thread. If set to false, the SDK will always navigate to the channel containing the thread without navigating to the thread itself. #4612
stream-chat-android-compose
✅ Added
- Added the parameter
messageId: String?toMessageListViewModelandMessageListViewModelFactory. IfnavigateToThreadViaNotificationis set to true (see the changelog entry below), it will enable navigating to threads upon clicking a push notification triggered by a thread message. #4612 - Added the feature flag boolean
navigateToThreadViaNotification: BooleantoMessageListViewModelandMessageListViewModelFactory. If it is set to true and a thread message has been received via push notification, clicking on the notification will make the SDK automatically navigate to the thread. If set to false, the SDK will always navigate to the channel containing the thread without navigating to the thread itself. #4612