Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.ReactNative
Commits
9caf3bb0
Commit
9caf3bb0
authored
Jan 07, 2020
by
Prateek Jain
Committed by
Diego Mello
Jan 07, 2020
Browse files
[FIX] Go to direct message from members list (#1519)
parent
16652241
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/RoomMembersView/index.js
View file @
9caf3bb0
...
...
@@ -119,7 +119,7 @@ class RoomMembersView extends React.Component {
const
db
=
database
.
active
;
const
subsCollection
=
db
.
collections
.
get
(
'
subscriptions
'
);
const
query
=
await
subsCollection
.
query
(
Q
.
where
(
'
name
'
,
item
.
username
)).
fetch
();
if
(
query
)
{
if
(
query
.
length
)
{
const
[
room
]
=
query
;
this
.
goRoom
({
rid
:
room
.
rid
,
name
:
item
.
username
,
room
});
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment