github GetStream/stream-chat-android v5.12.0-hotfix
v5.12.0

latest releases: 6.22.1, 6.22.0, 6.21.0...
2 years ago

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 GetMessageListener interface used to perform actions as side effects when the ChatCliet.getMessage() method is used to fetch a single message from the backend. #4623

stream-chat-android-ui-common

⬆️ Improved

  • MessageComposerController will 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 MessageInputView will 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 ChatUI called showThreadSeparatorInEmptyThread. You can use this to enable a thread separator if the thread is empty. #4629
  • Added the messageLimit parameter to MessageListViewModel and MessageListViewModelFactory. #4634
  • Added lambda parameter queryMembersOnline to DefaultUserLookupHandler. The lambda parameter is used internally by DefaultUserLookupHandler.handleUserLookup() when no matches could be found inside the list of users contained by DefaultUserLookupHandler.users. It should be used to query members from the server and return the results. #4647
  • Added the feature flag boolean navigateToThreadViaNotification to MessageListViewModel and MessageListViewModelFactory. 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? to MessageListViewModel and MessageListViewModelFactory. If navigateToThreadViaNotification is 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: Boolean to MessageListViewModel and MessageListViewModelFactory. 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

Don't miss a new stream-chat-android release

NewReleases is sending notifications on new releases.