Go to global search result not work

Description

When using Global search, and found some messages in threads, than tray to “Go to message” here is error: Room not found. (This message in private channel)
In search result url looks like https://server/channel/bla-bla-bla, but actual url of room is https://server/group/bla-bla-bla
How i can to fix search ?

Server Setup Information

  • Version of Rocket.Chat Server: 4.8.3
  • Operating System: Ubuntu 20.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 1
  • NodeJS Version: v14.18.3
  • MongoDB Version: 4.2.17
  • Proxy: nginx
  • Firewalls involved:

Any additional Information

Hi!

This is fixed in latest 5.X

Have you tried that latest version?

Thanks!

Trying in the 5.3.2 (sandbox):

  1. create private channel “channel1” and public channel “channel2”
    image
    2.chreate message and thread in private channel1
    image
  2. create message and thread in public channel2
    image
  3. go to channel general and try to global search “phrase”
    image
    good…! finded all!
  4. try to jump first (public phrase4)
    image
    All right
  5. Repeat search and try to jump (private phrase3)
    image
    Ooops… error… This url in search looks like https://server/channel/ but
    image
    it must be https://server/group/ becouse t’t private