When I paste a quote link from a private channel into a public channel, the timestamp turns into a hyperlink (e,g., http://hostname/group/privatechannel2?msg=J9xtJrkmycDbrQSe8). When I click it, the client stays in the same channel, but all history is erased and I have to log out and back in again to view it.
Server Setup Information:
Version of Rocket.Chat Server: 0.63.3
Operating System: RHEL 3.10.0-693.17.1.el7.x86_64
Deployment Method(snap/docker/tar/etc): docker
Number of Running Instances: 1
DB Replicaset Oplog: Disabled
Node Version: v8.9.3
mongoDB Version: ?
Steps to Reproduce:
Write a message in a private channel
Click three dots on the message and then "Quote"
Cut everything from the input box
Switch to another channel
Paste, add some text and press Enter
Click the timestamp inside the quote
Expected behavior:
If I have access to the channel, I'm taken to it and shown the message. If it's a channel I have no access to, I'm shown an error
Actual behavior:
I stay in the current channel, but all existing messages are erased from the screen and do no reappear even when I switch to another channel and back.
Relevant logs:
Client:
Exception in delivering result of invoking 'loadSurroundingMessages': <unavailable> 29e08e345195fd2d8a7dd2c6629194078bba4142.js:1
Exception in defer callback: <unavailable> 29e08e345195fd2d8a7dd2c6629194078bba4142.js:1
Description:
When I paste a quote link from a private channel into a public channel, the timestamp turns into a hyperlink (e,g., http://hostname/group/privatechannel2?msg=J9xtJrkmycDbrQSe8). When I click it, the client stays in the same channel, but all history is erased and I have to log out and back in again to view it.
Server Setup Information:
Steps to Reproduce:
Expected behavior:
If I have access to the channel, I'm taken to it and shown the message. If it's a channel I have no access to, I'm shown an error
Actual behavior:
I stay in the current channel, but all existing messages are erased from the screen and do no reappear even when I switch to another channel and back.
Relevant logs:
Client:
Server:
no new lines shown