File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
package/src/components/Message/MessageSimple Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ const MessageStatusWithContext = <
5656 ) ;
5757 }
5858
59- if ( isMessageWithStylesReadByAndDateSeparator ( message ) && ! threadList ) {
59+ if ( threadList || message . status === MessageStatusTypes . FAILED ) return null ;
60+
61+ if ( isMessageWithStylesReadByAndDateSeparator ( message ) ) {
6062 return (
6163 < View style = { [ styles . statusContainer , statusContainer ] } >
6264 { typeof message . readBy === 'number' ? (
@@ -76,11 +78,7 @@ const MessageStatusWithContext = <
7678 ) ;
7779 }
7880
79- if (
80- message . status === MessageStatusTypes . RECEIVED &&
81- message . type !== 'ephemeral' &&
82- ! threadList
83- ) {
81+ if ( message . status === MessageStatusTypes . RECEIVED && message . type !== 'ephemeral' ) {
8482 return (
8583 < View style = { [ styles . statusContainer , statusContainer ] } testID = 'delivered-container' >
8684 < Check pathFill = { grey_dark } { ...checkIcon } />
You can’t perform that action at this time.
0 commit comments