From a0eecdcaf45d304bd32cedf7625a98bb07f31e9d Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Fri, 16 Jul 2021 12:43:08 -0400 Subject: [PATCH] Add Discussions to RoomActionsView --- app/views/RoomActionsView/index.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/views/RoomActionsView/index.js b/app/views/RoomActionsView/index.js index 914a4291..b2b77926 100644 --- a/app/views/RoomActionsView/index.js +++ b/app/views/RoomActionsView/index.js @@ -974,6 +974,24 @@ class RoomActionsView extends React.Component { ) : null} + {['c', 'p'].includes(t) + ? ( + <> + this.onPressTouchable({ + route: 'ThreadMessagesView', + params: { rid, t, name: 'Discussions' } + })} + testID='room-actions-discussions' + left={() => } + showActionIndicator + /> + + + ) + : null} + {['c', 'p', 'd'].includes(t) ? ( <>