Skip to content

Commit 4055021

Browse files
committed
fix: refine getItemType
1 parent 5a8c608 commit 4055021

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package/src/components/MessageList/MessageFlashList.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ const getItemTypeInternal = (message: LocalMessage) => {
204204
return 'message-with-quote';
205205
}
206206

207+
if (message.parent_id) {
208+
return 'message-with-threads';
209+
}
210+
207211
if (message.shared_location) {
208212
return 'message-with-shared-location';
209213
}

0 commit comments

Comments
 (0)