Skip to content

Commit cedf07b

Browse files
authored
Merge pull request #3231 from GetStream/develop
Next Release
2 parents 76a45a9 + 00d5db8 commit cedf07b

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![NPM](https://img.shields.io/npm/v/stream-chat-react-native.svg)](https://www.npmjs.com/package/stream-chat-react-native)
1111
[![Build Status](https://github.com/GetStream/stream-chat-react-native/actions/workflows/release.yml/badge.svg)](https://github.com/GetStream/stream-chat-react-native/actions)
1212
[![Component Reference](https://img.shields.io/badge/docs-component%20reference-blue.svg)](https://getstream.io/chat/docs/sdk/reactnative)
13-
![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-288%20KB-blue)
13+
![JS Bundle Size](https://img.shields.io/badge/js_bundle_size-289%20KB-blue)
1414

1515
<img align="right" src="https://getstream.imgix.net/images/ios-chat-tutorial/iphone_chat_art@3x.png?auto=format,enhance" width="50%" />
1616

package/expo-package/src/optionalDependencies/Audio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class ExpoAudioRecordingAdapter {
227227
onRecordingStatusUpdate(status);
228228
}, progressUpdateInterval);
229229
this.uri = null;
230-
await this.recording.prepareToRecordAsync(this.options);
230+
await this.recording.prepareToRecordAsync();
231231
this.recording.record();
232232
};
233233

package/src/components/MessageList/utils/getGroupStyles.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ const getGroupStyle = (
4040
previousMessage.type === 'error' ||
4141
userId !== previousMessage?.user?.id ||
4242
!!isPrevMessageTypeDeleted ||
43-
(!hideDateSeparators && dateSeparators[previousMessage.id]) ||
43+
// NOTE: This is needed for the group styles to work after the message separated by date.
44+
(!hideDateSeparators && dateSeparators[message.id]) ||
4445
isEditedMessage(previousMessage);
4546

4647
const isBottomMessage =

package/src/contexts/messagesContext/MessagesContext.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export type MessagesContextValue = Pick<MessageContextValue, 'isMessageAIGenerat
179179
InlineDateSeparator: React.ComponentType<InlineDateSeparatorProps>;
180180
/**
181181
* UI component for InlineUnreadIndicator
182-
* Defaults to: [InlineUnreadIndicator](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/MessageSimple/InlineUnreadIndicator.tsx)
182+
* Defaults to: [InlineUnreadIndicator](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageList/InlineUnreadIndicator.tsx)
183183
**/
184184
InlineUnreadIndicator: React.ComponentType;
185185

@@ -214,12 +214,12 @@ export type MessagesContextValue = Pick<MessageContextValue, 'isMessageAIGenerat
214214
messageContentOrder: MessageContentType[];
215215
/**
216216
* UI component for MessageDeleted
217-
* Defaults to: [MessageDeleted](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageSimple/MessageDeleted.tsx)
217+
* Defaults to: [MessageDeleted](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/MessageSimple/MessageDeleted.tsx)
218218
*/
219219
MessageDeleted: React.ComponentType<MessageDeletedProps>;
220220
/**
221221
* UI component for MessageEditedTimestamp
222-
* Defaults to: [MessageEditedTimestamp](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageSimple/MessageEditedTimestamp.tsx)
222+
* Defaults to: [MessageEditedTimestamp](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/MessageSimple/MessageEditedTimestamp.tsx)
223223
*/
224224
MessageEditedTimestamp: React.ComponentType<MessageEditedTimestampProps>;
225225
/**
@@ -246,12 +246,12 @@ export type MessagesContextValue = Pick<MessageContextValue, 'isMessageAIGenerat
246246
MessageReactionPicker: React.ComponentType<MessageReactionPickerProps>;
247247
/**
248248
* UI component for MessageReplies
249-
* Defaults to: [MessageReplies](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageSimple/MessageReplies.tsx)
249+
* Defaults to: [MessageReplies](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/MessageSimple/MessageReplies.tsx)
250250
*/
251251
MessageReplies: React.ComponentType<MessageRepliesProps>;
252252
/**
253253
* UI Component for MessageRepliesAvatars
254-
* Defaults to: [MessageRepliesAvatars](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/MessageSimple/MessageRepliesAvatars.tsx)
254+
* Defaults to: [MessageRepliesAvatars](https://github.com/GetStream/stream-chat-react-native/blob/main/package/src/components/Message/MessageSimple/MessageRepliesAvatars.tsx)
255255
*/
256256
MessageRepliesAvatars: React.ComponentType<MessageRepliesAvatarsProps>;
257257
/**

0 commit comments

Comments
 (0)