diff --git a/native/input/input-state-container.react.js b/native/input/input-state-container.react.js --- a/native/input/input-state-container.react.js +++ b/native/input/input-state-container.react.js @@ -573,11 +573,13 @@ parentThreadInfo: ?ThreadInfo, ): Promise { try { - await this.props.textMessageCreationSideEffectsFunc( - messageInfo, - threadInfo, - parentThreadInfo, - ); + if (!threadTypeIsThick(threadInfo.type)) { + await this.props.textMessageCreationSideEffectsFunc( + messageInfo, + threadInfo, + parentThreadInfo, + ); + } const { localID } = messageInfo; invariant( localID !== null && localID !== undefined, @@ -591,6 +593,13 @@ parentThreadInfo, sidebarCreation, ); + if (threadTypeIsThick(threadInfo.type)) { + await this.props.textMessageCreationSideEffectsFunc( + messageInfo, + threadInfo, + parentThreadInfo, + ); + } this.pendingSidebarCreationMessageLocalIDs.delete(localID); return result; } catch (e) { diff --git a/web/input/input-state-container.react.js b/web/input/input-state-container.react.js --- a/web/input/input-state-container.react.js +++ b/web/input/input-state-container.react.js @@ -1368,11 +1368,13 @@ parentThreadInfo: ?ThreadInfo, ): Promise { try { - await this.props.textMessageCreationSideEffectsFunc( - messageInfo, - threadInfo, - parentThreadInfo, - ); + if (!threadTypeIsThick(threadInfo.type)) { + await this.props.textMessageCreationSideEffectsFunc( + messageInfo, + threadInfo, + parentThreadInfo, + ); + } const { localID } = messageInfo; invariant( localID !== null && localID !== undefined, @@ -1386,6 +1388,13 @@ parentThreadInfo, sidebarCreation, ); + if (threadTypeIsThick(threadInfo.type)) { + await this.props.textMessageCreationSideEffectsFunc( + messageInfo, + threadInfo, + parentThreadInfo, + ); + } this.pendingSidebarCreationMessageLocalIDs.delete(localID); return result; } catch (e) {