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
fix(ai): address reviewer feedback from @VelikovPetar
- Fix ChatClientConfig mapping table: correct v6 sources for each param,
fix userPresence default (true not false), clarify backgroundSyncEnabled
is removed (not mapped to isAutomaticSyncOnReconnectEnabled)
- Replace hardcoded version numbers with "check Maven Central"
- Add removed lambda parameters for ChannelList, MessageList,
ChannelScreen, ChannelListHeader, ChannelHeader (PR #6365)
- Document ChatComponentFactory as the replacement for all slot params
with link to migration docs
- Add cross-reference between §3.4 and §7.2 for changed defaults
> **Note:** v6's `backgroundSyncEnabled` (which triggered `/sync` after push notifications) was deprecated in v6 and **removed in v7**. It does NOT map to `isAutomaticSyncOnReconnectEnabled` — that controls `/sync` + channel re-watch after a WebSocket reconnect, which is a different mechanism.
222
224
223
225
#### Removed classes
224
226
@@ -733,8 +735,38 @@ Both now take `(viewModelFactory, modifier, onNavigationIconClick)`. GroupChanne
733
735
#### ChannelScreen (was MessagesScreen)
734
736
| Removed Parameter | Notes |
735
737
|---|---|
736
-
|`reactionSorting`| Removed |
737
-
|`onMessageLinkClick`| Removed |
738
+
|`reactionSorting`| Moved to `ChatUiConfig.messageList.reactionSorting`|
739
+
|`onMessageLinkClick`| Removed — override via `ChatComponentFactory`|
740
+
|`onUserAvatarClick`| Removed — override via `ChatComponentFactory`|
741
+
|`onUserMentionClick`| Removed — override via `ChatComponentFactory`|
|`elevation`| Removed — v7 headers have no elevation |
768
+
769
+
> **Lambda customization pattern in v7:** All composable slot parameters (`itemContent`, `loadingContent`, `emptyContent`, etc.) and forwarded callbacks (`onMessageLinkClick`, `onUserAvatarClick`, etc.) have been removed from public composables. Customization now goes through `ChatComponentFactory`. See the [Lambda Customization via ChatComponentFactory](https://getstream.io/chat/docs/sdk/android/migration-guides/migrating-from-v6-to-v7/#lambda-customization-via-chatcomponentfactory) documentation for the full migration pattern.
0 commit comments