Description:
If I (as an administrator) have set General -> First Channel After Login to a specific channel "A", then any permalink which I create and then follow from outside the application (i.e. pasting the link into the browser's address bar) will cause the application to immediately navigate away from that permalinked messages toward the most recent message of channel "A".
Note that clicking on a permalink within the application will however correctly navigate to the corresponding message.
Steps to reproduce:
- Ensure that the setting
General -> First Channel After Login is set to an existing channel.
- Create a peramalink for any arbitrary message.
- Paste the URL of that permalink directly into the browser's address bar.
Expected behavior:
The browser should load the relevant message which the permalink references.
Actual behavior:
The browser modifies the URL in the address bar, changing it to the channel specified by General -> First Channel After Login
Server Setup Information:
- Version of Rocket.Chat Server: 0.74.2 5fb5e57
- Operating System: Linux
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: v8.11.3
- MongoDB Version:
Additional context
Relevant logs: