Regression: Message press navigating to empty RoomView (#3680)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Gerzon Z 2022-02-07 11:41:29 -04:00 committed by GitHub
parent 0289ba716d
commit d246c2c6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class MessageContainer extends React.Component<IMessageContainerProps> {
const { onDiscussionPress } = this.props;
if (onDiscussionPress) {
if (item.dlm && onDiscussionPress) {
onDiscussionPress(item);
}
},