diff --git a/lib/shared/thread-actions-utils.js b/lib/shared/thread-actions-utils.js --- a/lib/shared/thread-actions-utils.js +++ b/lib/shared/thread-actions-utils.js @@ -121,7 +121,7 @@ ); if (threadTypeIsThick(threadInfo.type)) { const type = assertThickThreadType( - pendingThreadType(otherMemberIDs.length), + pendingThreadType(otherMemberIDs.length, true), ); invariant( @@ -136,7 +136,7 @@ }); } else { const type = assertThinThreadType( - pendingThreadType(otherMemberIDs.length), + pendingThreadType(otherMemberIDs.length, false), ); invariant( diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js --- a/lib/shared/thread-utils.js +++ b/lib/shared/thread-utils.js @@ -679,8 +679,9 @@ function pendingThreadType( numberOfOtherMembers: number, + thick: boolean, ): 4 | 6 | 7 | 13 | 14 | 15 { - if (usingOlmViaTunnelbrokerForDMs) { + if (usingOlmViaTunnelbrokerForDMs && thick) { if (numberOfOtherMembers === 0) { return threadTypes.PRIVATE; } else if (numberOfOtherMembers === 1) { @@ -1254,7 +1255,7 @@ const { sourceMessageID } = baseThreadInfo; const pendingThreadID = searching ? getPendingThreadID( - pendingThreadType(userInfoInputArray.length), + pendingThreadType(userInfoInputArray.length, false), [...userInfoInputArray.map(user => user.id), viewerID], sourceMessageID, ) @@ -1272,7 +1273,7 @@ const updatedThread = searching ? createPendingThread({ viewerID, - threadType: pendingThreadType(userInfoInputArray.length), + threadType: pendingThreadType(userInfoInputArray.length, true), members: [loggedInUserInfo, ...userInfoInputArray], }) : baseThreadInfo; diff --git a/native/chat/message-list-container.react.js b/native/chat/message-list-container.react.js --- a/native/chat/message-list-container.react.js +++ b/native/chat/message-list-container.react.js @@ -167,7 +167,10 @@ parentThreadHeader = ( ); }