sceyt-chat-react-uikit 1.7.5-beta.15 → 1.7.5-beta.16

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/index.js CHANGED
@@ -23821,7 +23821,7 @@ var Channel = function Channel(_ref3) {
23821
23821
  draftMessageText: draftMessageText,
23822
23822
  lastMessage: draftMessage || lastMessage,
23823
23823
  isDirectChannel: isDirectChannel,
23824
- unsupportedMessage: unsupportedMessage
23824
+ unsupportedMessage: unsupportedMessage && !getCustomLatestMessage
23825
23825
  });
23826
23826
  }, [typingOrRecording === null || typingOrRecording === void 0 ? void 0 : typingOrRecording.isTyping, typingOrRecording === null || typingOrRecording === void 0 ? void 0 : typingOrRecording.isRecording, draftMessageText, lastMessage, user, contactsMap, getFromContacts, lastMessageMetas, accentColor, typingOrRecording, channel, isDirectChannel, unsupportedMessage]);
23827
23827
  var getCustomLatestMessageComponent = React.useCallback(function (_ref4) {
@@ -44085,7 +44085,7 @@ function InviteLinkModal(_ref) {
44085
44085
  })), showCopiedToast && (/*#__PURE__*/React__default.createElement(CopiedTooltip, {
44086
44086
  background: tooltipBackground,
44087
44087
  color: textOnPrimary
44088
- }, "Copied")))), showHistorySection && /*#__PURE__*/React__default.createElement(SectionTitle, {
44088
+ }, "Link copied")))), showHistorySection && /*#__PURE__*/React__default.createElement(SectionTitle, {
44089
44089
  color: textSecondary
44090
44090
  }, historyTitle), showHistorySection && (/*#__PURE__*/React__default.createElement(HistoryRow, null, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(FieldLabel, {
44091
44091
  color: textPrimary
package/index.modern.js CHANGED
@@ -23820,7 +23820,7 @@ var Channel = function Channel(_ref3) {
23820
23820
  draftMessageText: draftMessageText,
23821
23821
  lastMessage: draftMessage || lastMessage,
23822
23822
  isDirectChannel: isDirectChannel,
23823
- unsupportedMessage: unsupportedMessage
23823
+ unsupportedMessage: unsupportedMessage && !getCustomLatestMessage
23824
23824
  });
23825
23825
  }, [typingOrRecording === null || typingOrRecording === void 0 ? void 0 : typingOrRecording.isTyping, typingOrRecording === null || typingOrRecording === void 0 ? void 0 : typingOrRecording.isRecording, draftMessageText, lastMessage, user, contactsMap, getFromContacts, lastMessageMetas, accentColor, typingOrRecording, channel, isDirectChannel, unsupportedMessage]);
23826
23826
  var getCustomLatestMessageComponent = useCallback(function (_ref4) {
@@ -44084,7 +44084,7 @@ function InviteLinkModal(_ref) {
44084
44084
  })), showCopiedToast && (/*#__PURE__*/React__default.createElement(CopiedTooltip, {
44085
44085
  background: tooltipBackground,
44086
44086
  color: textOnPrimary
44087
- }, "Copied")))), showHistorySection && /*#__PURE__*/React__default.createElement(SectionTitle, {
44087
+ }, "Link copied")))), showHistorySection && /*#__PURE__*/React__default.createElement(SectionTitle, {
44088
44088
  color: textSecondary
44089
44089
  }, historyTitle), showHistorySection && (/*#__PURE__*/React__default.createElement(HistoryRow, null, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(FieldLabel, {
44090
44090
  color: textPrimary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.7.5-beta.15",
3
+ "version": "1.7.5-beta.16",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",