does not crash on deleted messages

This commit is contained in:
or-else
2019-12-03 13:01:23 +03:00
parent 44c5e30f4d
commit 893cbdaa0c
12 changed files with 65 additions and 26 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ class MessagesView extends React.Component {
messageNodes.push(
<ChatMessage
tinode={this.props.tinode}
content={msg.content}
content={msg.content} delRange={msg.delRange}
mimeType={msg.head ? msg.head.mime : null}
timestamp={msg.ts} response={isReply} seq={msg.seq}
userFrom={userFrom} userName={userName} userAvatar={userAvatar}