Regression: Message press navigating to empty RoomView (#3680)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
0289ba716d
commit
d246c2c6e8
|
@ -150,7 +150,7 @@ class MessageContainer extends React.Component<IMessageContainerProps> {
|
|||
|
||||
const { onDiscussionPress } = this.props;
|
||||
|
||||
if (onDiscussionPress) {
|
||||
if (item.dlm && onDiscussionPress) {
|
||||
onDiscussionPress(item);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue