Skip to content

Commit

Permalink
[FIX] 404 error when clicking an username (#17275)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lehnen-rc authored Apr 13, 2020
1 parent 842a68d commit a7e927e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ui/client/views/app/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const openProfileTabOrOpenDM = (e, instance, username) => {
}

if (result && result.rid) {
FlowRouter.go('direct', { username }, FlowRouter.current().queryParams);
FlowRouter.go('direct', { rid: result.rid }, FlowRouter.current().queryParams);
}
});
} else {
Expand Down

0 comments on commit a7e927e

Please sign in to comment.