stream-chat-react-native-core 5.13.1-beta.1 → 5.13.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Channel/Channel.js +25 -23
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Channel/Channel.js +25 -23
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/package.json +1 -1
- package/src/components/Channel/Channel.tsx +3 -2
- package/src/version.json +1 -1
package/lib/module/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "5.13.1-beta.
|
|
4
|
+
"version": "5.13.1-beta.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -997,6 +997,8 @@ const ChannelWithContext = <
|
|
|
997
997
|
channel.state.clearMessages();
|
|
998
998
|
channel.state.setIsUpToDate(true);
|
|
999
999
|
channel.state.addMessagesSorted(state.messages);
|
|
1000
|
+
channel.state.addPinnedMessages(state.pinned_messages);
|
|
1001
|
+
|
|
1000
1002
|
copyChannelState();
|
|
1001
1003
|
return;
|
|
1002
1004
|
}
|
|
@@ -1045,10 +1047,9 @@ const ChannelWithContext = <
|
|
|
1045
1047
|
|
|
1046
1048
|
setHasNoMoreRecentMessagesToLoad(true);
|
|
1047
1049
|
channel.state.setIsUpToDate(true);
|
|
1048
|
-
|
|
1049
1050
|
channel.state.clearMessages();
|
|
1050
1051
|
channel.state.addMessagesSorted(finalMessages);
|
|
1051
|
-
|
|
1052
|
+
channel.state.addPinnedMessages(state.pinned_messages);
|
|
1052
1053
|
setHasMore(true);
|
|
1053
1054
|
copyChannelState();
|
|
1054
1055
|
|
package/src/version.json
CHANGED