Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

BUG: Shared Room link doesn't open the room

Open Kamlesh72 opened this issue 1 year ago • 13 comments

Description:

When a link of room is shared, tapping it opens the Room info. The Message button is displayed. Tapping on Message button does nothing.

Environment Information:

  • Rocket.Chat Server Version: 6.6.0
  • Rocket.Chat App Version: 4.44.0.53875
  • Device Name: Android
  • OS Version: 10

Steps to reproduce:

  1. Got to any channel. (or room)
  2. Share any room link.
  3. Click on the shared link.
  4. Click on Message.

Expected behavior:

Clicking on Message should open the room.

Actual behavior:

Kamlesh72 avatar Dec 18 '23 19:12 Kamlesh72

@Kamlesh72 How are you sharing the room's link? Are you sharing links like #{room-name}?

brf153 avatar Dec 19 '23 04:12 brf153

When I share links using the command #{room-name} it does not open the room info for me but directly opens the room's chat screen.

brf153 avatar Dec 19 '23 04:12 brf153

@brf153 Yes, The link is shared using #room-name Try this https://open.rocket.chat/channel/support?msg=FF2fWpc33GnobCvpB

Kamlesh72 avatar Dec 19 '23 05:12 Kamlesh72

@Kamlesh72 still the link(#react-native) opens the channel's chat room and not the room info.

brf153 avatar Dec 19 '23 06:12 brf153

@brf153 device?

Kamlesh72 avatar Dec 19 '23 06:12 Kamlesh72

I have checked on both the app versions(the one on play store and the latest one running the dev server). The app versions are 4.44.0.53875 (play store) and 4.44.0.999999 (dev server)

brf153 avatar Dec 19 '23 06:12 brf153

I am using samsung galaxy m13 5g

brf153 avatar Dec 19 '23 06:12 brf153

Android version 13

brf153 avatar Dec 19 '23 06:12 brf153

@Kamlesh72 which device are you using?

brf153 avatar Dec 19 '23 06:12 brf153

@brf153 Redmi Note 8 Pro.

https://drive.google.com/file/d/1aTgIfRgrW072BOhzYpYSdSpwOsvlsuc9/view?usp=sharing

https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/90441742/83316db6-3efd-458f-a558-0dfd340c34af

Kamlesh72 avatar Dec 19 '23 06:12 Kamlesh72

@Kamlesh72 bro your video is not working on my laptop. Your android version is 10 right?

brf153 avatar Dec 19 '23 07:12 brf153

@brf153 Yes. Is google drive vid working?

Kamlesh72 avatar Dec 19 '23 07:12 Kamlesh72

@brf153 Redmi Note 8 Pro.

https://drive.google.com/file/d/1aTgIfRgrW072BOhzYpYSdSpwOsvlsuc9/view?usp=sharing

VID-20231219-WA0004.mp4

Thanks for the video; now I understand your issue. The problem occurs when the user clicking on the channel mention isn't a part of it. We'll investigate this.

reinaldonetof avatar Dec 19 '23 14:12 reinaldonetof