@azure/communication-react 1.4.3-alpha-202212020014.0 → 1.4.3-alpha-202212060013.0

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.
@@ -202,7 +202,7 @@ const _toCommunicationIdentifier = (id) => {
202
202
  // Copyright (c) Microsoft Corporation.
203
203
  // Licensed under the MIT license.
204
204
  // GENERATED FILE. DO NOT EDIT MANUALLY.
205
- var telemetryVersion = '1.4.3-alpha-202212020014.0';
205
+ var telemetryVersion = '1.4.3-alpha-202212060013.0';
206
206
 
207
207
  // Copyright (c) Microsoft Corporation.
208
208
  /**
@@ -6978,7 +6978,7 @@ const DefaultSystemMessage = (props) => {
6978
6978
  }
6979
6979
  return React__default['default'].createElement(React__default['default'].Fragment, null);
6980
6980
  };
6981
- const memoizeAllMessages = memoizeFnAll((_messageKey, message, showMessageDate, showMessageStatus, onRenderAvatar, shouldOverlapAvatarAndMessage, styles, onRenderMessageStatus, defaultStatusRenderer, defaultChatMessageRenderer, strings, _attached, statusToRender, participantCount, readCount, onRenderMessage, onUpdateMessage, onDeleteMessage, onSendMessage) => {
6981
+ const memoizeAllMessages = memoizeFnAll((_messageKey, message, showMessageDate, showMessageStatus, onRenderAvatar, shouldOverlapAvatarAndMessage, styles, onRenderMessageStatus, defaultStatusRenderer, defaultChatMessageRenderer, strings, _attached, statusToRender, participantCount, readCount, onRenderMessage, onUpdateMessage, onDeleteMessage, onSendMessage, disableEditing) => {
6982
6982
  var _a, _b, _c, _d, _e, _f, _g;
6983
6983
  const messageProps = {
6984
6984
  message,
@@ -6986,7 +6986,8 @@ const memoizeAllMessages = memoizeFnAll((_messageKey, message, showMessageDate,
6986
6986
  showDate: showMessageDate,
6987
6987
  onUpdateMessage,
6988
6988
  onDeleteMessage,
6989
- onSendMessage
6989
+ onSendMessage,
6990
+ disableEditing
6990
6991
  };
6991
6992
  switch (message.messageType) {
6992
6993
  case 'chat': {
@@ -7339,7 +7340,7 @@ const MessageThread = (props) => {
7339
7340
  return memoizedMessageFn(key !== null && key !== void 0 ? key : 'id_' + index, message, showMessageDate, showMessageStatus, onRenderAvatar, isNarrow, styles, onRenderMessageStatus, defaultStatusRenderer, defaultChatMessageRenderer, strings,
7340
7341
  // Temporary solution to make sure we re-render if attach attribute is changed.
7341
7342
  // The proper fix should be in selector.
7342
- message.messageType === 'chat' ? message.attached : undefined, statusToRender, participantCount, readCountForHoveredIndicator, onRenderMessage, onUpdateMessage, onDeleteMessage, onSendMessage);
7343
+ message.messageType === 'chat' ? message.attached : undefined, statusToRender, participantCount, readCountForHoveredIndicator, onRenderMessage, onUpdateMessage, onDeleteMessage, onSendMessage, props.disableEditing);
7343
7344
  });
7344
7345
  }), [
7345
7346
  messages,
@@ -7360,7 +7361,8 @@ const MessageThread = (props) => {
7360
7361
  onSendMessage,
7361
7362
  lastSeenChatMessage,
7362
7363
  lastSendingChatMessage,
7363
- lastDeliveredChatMessage
7364
+ lastDeliveredChatMessage,
7365
+ props.disableEditing
7364
7366
  ]);
7365
7367
  const theme = useTheme();
7366
7368
  const chatBody = React.useMemo(() => {