kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Chats: don't crash when there's an image post, fixes #369
rodzic
a419c5da34
commit
e3e57f8dc7
|
@ -77,7 +77,7 @@ class ChatMessageList extends ImmutablePureComponent {
|
|||
<span
|
||||
title={this.getFormattedTimestamp(chatMessage)}
|
||||
className='chat-message__bubble'
|
||||
dangerouslySetInnerHTML={{ __html: emojify(chatMessage.get('content')) }}
|
||||
dangerouslySetInnerHTML={{ __html: emojify(chatMessage.get('content') || '') }}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
|
Ładowanie…
Reference in New Issue