Chats: don't crash when there's an image post, fixes #369

loading-indicator-on-tls^2
Alex Gleason 2020-08-29 22:57:26 -05:00
rodzic a419c5da34
commit e3e57f8dc7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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>
))}