From d246c2c6e859b57a8f3437531cc8b4765da049e7 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Mon, 7 Feb 2022 11:41:29 -0400 Subject: [PATCH] Regression: Message press navigating to empty RoomView (#3680) Co-authored-by: Diego Mello --- app/containers/message/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/message/index.tsx b/app/containers/message/index.tsx index 75458b47..58fce14b 100644 --- a/app/containers/message/index.tsx +++ b/app/containers/message/index.tsx @@ -150,7 +150,7 @@ class MessageContainer extends React.Component { const { onDiscussionPress } = this.props; - if (onDiscussionPress) { + if (item.dlm && onDiscussionPress) { onDiscussionPress(item); } },