@cometchat/chat-uikit-react-native 4.2.1 → 4.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react-native",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly",
5
5
  "main": "src/index",
6
6
  "module": "src/index",
@@ -49,7 +49,7 @@ export class StickersExtensionDecorator extends DataSourceDecorator {
49
49
  }
50
50
 
51
51
  getStickerBubble(message: CometChat.CustomMessage, alignment: MessageBubbleAlignmentType) {
52
- let url = message?.['data']?.['customData']?.['sticker_url'];
52
+ let url = message?.['data']?.['customData']?.['stickerUrl'] || message?.['data']?.['customData']?.['sticker_url'];
53
53
  return <CometChatStickerBubble
54
54
  url={url}
55
55
  name=""