RocketChat / RocketChat/Rocket.Chat
`Go To Message ` link in email not working with Iframe integration and Logged out User.
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Steps to reproduce:
- Log in to rocketchat account after iframe integration done.
- Send Direct message to one of your user account which is not online.
- check the mail of the user account to who you did send an email.
- Click on
Go To MessageLink button.
Expected behavior:
If Go to message link has been clicked from email message notification of direct message service.
of rocket chat. than this following cases should considered.
- Clicked with already
logged inin Rocket Chat.
It should redirect to rocketchat hosted url for example http://rocket.chat:3000/direct/{username}
(now this is working properly.) - Clicked with not already
logged inin Rocket Chat.
It should be redirect to Iframe Url instead of actual hosted Url. for example http://rocket.chat:80
(this is not working)
and same should happened if User is getting log out than too its should redirect to Iframe Url instead of site`s hosted url or root url.
Actual behavior:
in case no 2. link is not getting redirect to Iframe Url.
redirecting to site`s hosted url instead.
Server Setup Information:
- Version of Rocket.Chat Server: 0.73.2
- Operating System: Cent Os 7.
- Deployment Method: Download Source and Build as per guideline from official documentation.
- Number of Running Instances: 1
- DB Replicaset Oplog: Disabled
- NodeJS Version: v8.11.3
- MongoDB Version: 3.4.18
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing how the email notification builds the “Go To Message” URL and how logged-out iframe users are redirected; compare logged-in, logged-out, and post-logout cases. Done means each case opens the iframe URL rather than the hosted root URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100