File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
package/src/components/Message/MessageSimple Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ const MessageContentWithContext = <
214214
215215 const isMessageReceivedOrErrorType = ! isMyMessage || error ;
216216
217- let backgroundColor = senderMessageBackgroundColor || light_gray ;
217+ let backgroundColor = senderMessageBackgroundColor ?? light_gray ;
218218 if ( onlyEmojis && ! message . quoted_message ) {
219219 backgroundColor = transparent ;
220220 } else if ( otherAttachments . length ) {
@@ -224,7 +224,7 @@ const MessageContentWithContext = <
224224 backgroundColor = blue_alice ;
225225 }
226226 } else if ( isMessageReceivedOrErrorType ) {
227- backgroundColor = receiverMessageBackgroundColor || white_snow ;
227+ backgroundColor = receiverMessageBackgroundColor ?? white_snow ;
228228 }
229229
230230 const repliesCurveColor = ! isMessageReceivedOrErrorType ? backgroundColor : light_gray ;
You can’t perform that action at this time.
0 commit comments