Skip to content

Commit e9cc98b

Browse files
committed
chore: resolve conflicts from develop
2 parents db90318 + 7e64290 commit e9cc98b

File tree

9 files changed

+24
-10
lines changed

9 files changed

+24
-10
lines changed

examples/SampleApp/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
### [1.30.3](https://github.com/GetStream/stream-chat-react-native/compare/[email protected]@v1.30.3) (2024-10-15)
4+
5+
6+
### Workspaces
7+
8+
* Following linked packages updated: [stream-chat-react-native]
9+
310
### [1.30.2](https://github.com/GetStream/stream-chat-react-native/compare/[email protected]@v1.30.2) (2024-10-14)
411

512
### Workspaces

examples/SampleApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sampleapp",
3-
"version": "1.30.2",
3+
"version": "1.30.3",
44
"private": true,
55
"repository": {
66
"type": "git",

package/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
### [5.39.3](https://github.com/GetStream/stream-chat-react-native/compare/v5.39.2...v5.39.3) (2024-10-15)
4+
5+
6+
### Bug Fixes
7+
8+
* ChannelAvatar crash when used outside of ChannelList ([#2708](https://github.com/GetStream/stream-chat-react-native/issues/2708)) ([85f4ab2](https://github.com/GetStream/stream-chat-react-native/commit/85f4ab21adf4b0da636475f0285e3360d9b1309b))
9+
310
### [5.39.2](https://github.com/GetStream/stream-chat-react-native/compare/v5.39.1...v5.39.2) (2024-10-14)
411

512
### Bug Fixes

package/expo-package/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stream-chat-expo",
33
"description": "The official Expo SDK for Stream Chat, a service for building chat applications",
4-
"version": "5.39.2",
4+
"version": "5.39.3",
55
"author": {
66
"company": "Stream.io Inc",
77
"name": "Stream.io Inc"
@@ -10,7 +10,7 @@
1010
"main": "src/index.js",
1111
"types": "types/index.d.ts",
1212
"dependencies": {
13-
"stream-chat-react-native-core": "5.39.2"
13+
"stream-chat-react-native-core": "5.39.3"
1414
},
1515
"peerDependencies": {
1616
"expo": "^51.0.0",

package/native-package/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stream-chat-react-native",
33
"description": "The official React Native SDK for Stream Chat, a service for building chat applications",
4-
"version": "5.39.2",
4+
"version": "5.39.3",
55
"author": {
66
"company": "Stream.io Inc",
77
"name": "Stream.io Inc"
@@ -11,7 +11,7 @@
1111
"types": "types/index.d.ts",
1212
"dependencies": {
1313
"es6-symbol": "^3.1.3",
14-
"stream-chat-react-native-core": "5.39.2"
14+
"stream-chat-react-native-core": "5.39.3"
1515
},
1616
"peerDependencies": {
1717
"@bam.tech/react-native-image-resizer": ">=3.0.10",

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stream-chat-react-native-core",
33
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4-
"version": "5.39.2",
4+
"version": "5.39.3",
55
"author": {
66
"company": "Stream.io Inc",
77
"name": "Stream.io Inc"

package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ export const ChannelPreviewMessenger = <
212212
props: ChannelPreviewMessengerProps<StreamChatGenerics>,
213213
) => {
214214
const {
215+
forceUpdate,
215216
maxUnreadCount,
216217
onSelect,
217218
PreviewAvatar,
@@ -224,6 +225,7 @@ export const ChannelPreviewMessenger = <
224225
return (
225226
<MemoizedChannelPreviewMessengerWithContext
226227
{...{
228+
forceUpdate,
227229
maxUnreadCount,
228230
onSelect,
229231
PreviewAvatar,

package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { useEffect, useState } from 'react';
22

33
import type { Channel, StreamChat } from 'stream-chat';
44

5-
import { useChannelsContext } from '../../../contexts';
65
import { useChatContext } from '../../../contexts/chatContext/ChatContext';
76

87
import type { DefaultStreamChatGenerics } from '../../../types/types';
@@ -38,7 +37,6 @@ export const useChannelPreviewDisplayPresence = <
3837
channel: Channel<StreamChatGenerics>,
3938
) => {
4039
const { client } = useChatContext<StreamChatGenerics>();
41-
const { forceUpdate } = useChannelsContext<StreamChatGenerics>();
4240

4341
const currentUserId = client.userID;
4442
const members = Object.values(channel.state.members).filter(
@@ -50,7 +48,7 @@ export const useChannelPreviewDisplayPresence = <
5048

5149
useEffect(() => {
5250
setDisplayPresence(getChannelPreviewDisplayPresence(channel, client));
53-
}, [channel, channelMemberOnline, client, forceUpdate]);
51+
}, [channel, channelMemberOnline, client]);
5452

5553
return displayPresence;
5654
};

package/src/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "5.39.2"
2+
"version": "5.39.3"
33
}

0 commit comments

Comments
 (0)