merge next

This commit is contained in:
or-else
2023-02-04 21:23:53 -08:00
5 changed files with 9 additions and 3 deletions
+3
View File
@@ -672,6 +672,9 @@ class MessagesView extends React.Component {
// The 'msg' could be false-ish if some message ranges were deleted.
handleMessageUpdate(msg) {
if (!this.state.topic) {
return;
}
const topic = this.props.tinode.getTopic(this.state.topic);
if (!msg) {
// msg could be null if one or more messages were deleted.